RectAnimationUsingKeyFrames.KeyFrames Property

Definition

Gets or sets the collection of RectKeyFrame objects that define the animation.

public:
 property System::Windows::Media::Animation::RectKeyFrameCollection ^ KeyFrames { System::Windows::Media::Animation::RectKeyFrameCollection ^ get(); void set(System::Windows::Media::Animation::RectKeyFrameCollection ^ value); };
public System.Windows.Media.Animation.RectKeyFrameCollection KeyFrames { get; set; }
member this.KeyFrames : System.Windows.Media.Animation.RectKeyFrameCollection with get, set
Public Property KeyFrames As RectKeyFrameCollection

Property Value

The collection of RectKeyFrame objects that define the animation. The default value is Empty.

Remarks

A key frame animation's target values are defined by its KeyFrames property, which contains a collection of RectKeyFrame objects. Each RectKeyFrame defines a segment of the animation with its own target Value and KeyTime. When the animation runs, it progresses from one key value to the next at the specified key times.

Applies to

See also