IXRObjectKeyFrameCollection (Windows Embedded CE 6.0)
1/6/2010
This class represents a collection of IXRObjectKeyFrame objects that can be accessed individually by index.
Syntax
class IXRObjectKeyFrameCollection : public IXRCollection<IXRObjectKeyFrame*, IXRDependencyObject*>
Methods
IXRObjectKeyFrameCollection the methods from the template class IXRCollection<In_T, Out_T>. It uses In_T parameters of type IXRObjectKeyFrame*, and uses Out_T parameters of type IXRDependencyObject*.
Remarks
This collection is used as a part of IXRObjectAnimationUsingKeyFrames to animate an object, such as a button or rectangle, along with a set of key frames. This collection describes the set of key frames that define a storyboard animation segment with an Object target value.
You can obtain a pointer to this collection by calling IXRObjectAnimationUsingKeyFrames::GetKeyFrames. Then, you can use the methods inherited from IXRCollection<In_T, Out_T> to add items, remove items, or retrieve items. You can also clear the complete collection by calling the inherited method IXRCollection<In_T, Out_T>::Clear.
You can define an object key-frame collection 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 collection in the source XAML for your application, see this Microsoft Web site.
Inheritance Hierarchy
IXRObjectKeyFrameCollection
.NET Framework Equivalent
System.Windows.Media.Animation.ObjectKeyFrameCollection
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |