Share via


KeyFrames (ObjectAnimationUsingKeyFrames)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the collection of DiscreteObjectKeyFrame objects that define an animation.

<ObjectAnimationUsingKeyFrames...>
  oneOrMoreDiscreteObjectKeyFrames
</ObjectAnimationUsingKeyFrames>
value = object.KeyFrames
object.KeyFrames = value

XAML Values

Value

Description

oneOrMoreDiscreteObjectKeyFrames

One or more DiscreteObjectKeyFrame object elements that define the key frames for the animation.

Property Value

Type: ObjectKeyFrameCollection

The collection of DiscreteObjectKeyFrame objects that define the animation.

This property is read/write. The default value is an empty collection.

Managed Equivalent

KeyFrames

Version Information

Silverlight 2