次の方法で共有


IXRDoubleAnimationUsingKeyFrames (Windows Embedded CE 6.0)

1/6/2010

This class represents an animation that, along a set of key frames, animates a float value over a specified duration.

Syntax

class IXRDoubleAnimationUsingKeyFrames : public IXRTimeline

Methods

Method Description

IXRDoubleAnimationUsingKeyFrames::GetKeyFrames

Retrieves the collection of IXRDoubleKeyFrame objects that define this animation.

Remarks

IXRDoubleAnimationUsingKeyFrames stores a collection of IXRDoubleKeyFrame objects that together define the key frames for the animation. The IXRDoubleAnimationUsingKeyFrames::GetKeyFrames method retrieves the collection of target values for the key-frame animation. Each IXRColorKeyFrame defines a segment of the animation with its own target value and key time. When the animation runs, it progresses from one key value to the next at the specified times.

There are three kinds of IXRDoubleKeyFrame derived classes, one for each supported interpolation method: IXRLinearDoubleKeyFrame, IXRDiscreteDoubleKeyFrame, and IXRSplineDoubleKeyFrame.

You can use the methods inherited from the base class IXRTimeline to define the timeline for this animation.

You can also define a double animation that uses key-frames 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.

Note

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

Inheritance Hierarchy

IXRDependencyObject

    IXRTimeline

        IXRDoubleAnimationUsingKeyFrames

.NET Framework Equivalent

System.Windows.Media.Animation.DoubleAnimationUsingKeyFrames

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
IXRStoryboard