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

IXRColorKeyFrame::GetKeyTime

Retrieves the time at which the target color value for this key frame is reached.

IXRColorKeyFrame::GetValue

Retrieves the target color value for this key frame.

IXRColorKeyFrame::SetKeyTime

Sets the time at which the target color value for this key frame is reached.

IXRColorKeyFrame::SetValue

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

IXRDependencyObject

    IXRColorKeyFrame

        IXRDiscreteColorKeyFrame

        IXRLinearColorKeyFrame

        IXRSplineColorKeyFrame

.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

See Also

Reference

Classes for Visual Appearance and Behavior