IXRLinearDoubleKeyFrame (Windows Embedded CE 6.0)

1/6/2010

This class defines an animation segment that uses linear interpolation to animate from the float value of the previous key frame to its own float value.

Syntax

class IXRLinearDoubleKeyFrame : public IXRDoubleKeyFrame

Methods

This class defines no new methods. It inherits its methods from IXRDoubleKeyFrame.

Remarks

This class animates a float value along a set of key frames by using an IXRDoubleKeyFrameCollection that belongs to an IXRDoubleAnimationUsingKeyFrames object.

A key frame defines a segment of the IXRDoubleAnimationUsingKeyFrames object that it belongs to. Each key frame has a target x-y point and a key-time. The key-time specifies the time at which the target value of the key frame is reached. A key frame animates from the target value of the previous key frame to its own target value. It starts when the previous key frame ends, and it ends when its own key-time is reached.

Linear key frames like IXRLinearDoubleKeyFrame interpolate smoothly between values.

You can also define a linear double 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.

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

    IXRDoubleKeyFrame

        IXRLinearDoubleKeyFrame

.NET Framework Equivalent

System.Windows.Media.Animation.LinearDoubleKeyFrame

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