次の方法で共有


IXRDoubleKeyFrameCollection (Windows Embedded CE 6.0)

1/6/2010

This class represents a collection of IXRDoubleKeyFrame objects that can be accessed individually by index.

Syntax

class IXRDoubleKeyFrameCollection : public IXRCollection<IXRDoubleKeyFrame*, IXRDependencyObject*>

Methods

IXRDoubleKeyFrameCollection inherits the methods from the template class IXRCollection<In_T, Out_T>. It uses In_T parameters of type IXRDoubleKeyFrame*, and uses Out_T parameters of type IXRDependencyObject*.

Remarks

This collection is used as a part of an IXRDoubleAnimationUsingKeyFrames object to animate a property that takes a float value, such as Width, together with a set of key frames.

You can obtain a pointer to this collection by calling IXRDoubleAnimationUsingKeyFrames::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 a double 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.

Note

This programming element includes "Double" in its name in order to maintain parity with the name of its equivalent XAML element in the source XAML markup. The name of this XAML element is generated by the Microsoft Expression Blend 2 IDE. However, in Silverlight, this object represents a float instead of a double.

Inheritance Hierarchy

IXRDependencyObject

    IXRCollection<In_T, Out_T>

        IXRDoubleKeyFrameCollection

.NET Framework Equivalent

System.Windows.Media.Animation.DoubleKeyFrameCollection

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Collection Management