IXRObjectAnimationUsingKeyFrames (Windows Embedded CE 6.0)
1/6/2010
This class represents an animation that animates the value of an IXRDependencyObject along a set of key frames over a specified duration.
Syntax
class IXRObjectAnimationUsingKeyFrames : public IXRTimeline
Methods
Method | Description |
---|---|
Retrieves the collection of IXRObjectKeyFrame objects that define this animation. |
Remarks
IXRObjectAnimationUsingKeyFrames stores a collection of IXRObjectKeyFrame objects that together define the key frames for the animation. The IXRObjectAnimationUsingKeyFrames::GetKeyFrames method retrieves the collection of target values for the key-frame animation. Each IXRObjectKeyFrame defines a segment of the animation with its own target object instance and key time. When the animation runs, it progresses from one key value to the next at the specified times.
IXRObjectKeyFrame is an intermediate base class for IXRDiscreteObjectKeyFrame. The IXRObjectAnimationUsingKeyFrames object, which swaps object values according to a specified timeline, can be used only with discrete interpolation. Other kinds of interpolation are not available to apply to objects.
You can use the methods inherited from the base class IXRTimeline to define the timeline for this animation.
You can also define an object animation that uses key-frame in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.
Inheritance Hierarchy
IXRObjectAnimationUsingKeyFrames
.NET Framework Equivalent
System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |
See Also
Reference
Classes for Visual Appearance and Behavior