RectAnimationUsingKeyFrames.KeyFrames Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public RectKeyFrameCollection KeyFrames { get; set; }

Property Value

Type: System.Windows.Media.Animation.RectKeyFrameCollection

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

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.

.NET Framework
Available since 3.0
Return to top
Show: