IXRColorKeyFrame (Windows Embedded CE 6.0)
1/6/2010
This class provides a base class for defining an animation segment with a target color value that uses specific animation key-frame techniques.
Derived classes each provide a different key-frame interpolation for a color value that is provided for an IXRColorAnimationUsingKeyFrames animation.
Syntax
class IXRColorKeyFrame : public IXRDependencyObject
Methods
Method | Description |
---|---|
Retrieves the time at which the target color value for this key frame is reached. |
|
Retrieves the target color value for this key frame. |
|
Sets the time at which the target color value for this key frame is reached. |
|
Sets the target color value for this key frame. |
Remarks
IXRColorKeyFrame is an abstract class for the child classes IXRDiscreteColorKeyFrame, IXRLinearColorKeyFrame, and IXRSplineColorKeyFrame, and provides methods for defining color key frames by using different techniques of key-frame animation.
To animate a color using key frames, define an IXRColorAnimationUsingKeyFrames animation and define key frames by populating its IXRColorKeyFrameCollection collection with one or more IXRDiscreteColorKeyFrame, IXRLinearColorKeyFrame, or IXRSplineColorKeyFrame objects.
You can retrieve or set the target color value for this key frame by calling IXRColorKeyFrame::GetValue or IXRColorKeyFrame::SetValue.
A collection of IXRColorKeyFrame objects belongs to an IXRColorKeyFrameCollection object.
Inheritance Hierarchy
IXRColorKeyFrame
.NET Framework Equivalent
System.Windows.Media.Animation.ColorKeyFrame
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |