KeyFrames Property
Collapse the table of content
Expand the table of content

RectAnimationUsingKeyFrames.KeyFrames Property

 

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:
© 2016 Microsoft