IXRDiscreteColorKeyFrame (Windows Embedded CE 6.0)

1/6/2010

This class defines an animation segment that uses discrete values to animate from the color value of the previous key frame to its own value in a sudden manner.

Syntax

class IXRDiscreteColorKeyFrame : public IXRColorKeyFrame

Methods

This class defines no new methods. Its methods are inherited from IXRColorKeyFrame.

Remarks

This class animates a color value along a set of key frames using an IXRColorKeyFrameCollection that belongs to an IXRColorAnimationUsingKeyFrames object.

A key frame defines a segment of the IXRColorAnimationUsingKeyFrames object it belongs to. Each key frame has a target color value 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.

Discrete key frames like IXRDiscreteColorKeyFrame do not interpolate between values, instead jumping suddenly to the new target value when the key-time of the key frame is reached.

Inheritance Hierarchy

IXRDependencyObject

    IXRColorKeyFrame

        IXRDiscreteColorKeyFrame

.NET Framework Equivalent

System.Windows.Media.Animation.DiscreteColorKeyFrame

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