PointKeyFrameCollection Object

Represents a collection of PointKeyFrame objects that can be individually accessed by index.

XAML
<PointKeyFrameCollection ...>
  oneOrMorePointKeyFrames
</PointKeyFrameCollection>
Scripting
To create an object using scripting, see CreateFromXAML.

Properties

Count, Name

Methods

Add, Clear, Equals, FindName, GetHost, GetItem, GetValue, Insert, Remove, RemoveAt, SetValue

Remarks

PointKeyFrameCollection defines no methods or properties beyond the basic Collection methods and properties. Methods such as Add or GetItem will expect or return objects that are of type PointKeyFrame. PointKeyFrame itself is an abstract class, so the items might be DiscretePointKeyFrame, LinearPointKeyFrame, or SplinePointKeyFrame.

The XAML syntax for properties that use a PointKeyFrameCollection is an example of an implicit collection syntax, where you can omit an actual PointKeyFrameCollection object element. Instead, you generally include one or more DiscretePointKeyFrame, LinearPointKeyFrame, or SplinePointKeyFrame object elements as child elements of a PointAnimationUsingKeyFrames. For more information about XAML implicit collection syntax, see XAML Syntax Overview. (Explicitly including a PointKeyFrameCollection object element is permissible XAML syntax, and might be useful if you intend to name the collection in XAML and manipulate its contents through script later.)

See Also

Silverlight Key-Frame Animations Overview
Collection
PointAnimationUsingKeyFrames