Share via


ColorKeyFrame Object (Abstract)

Provides a base class for specific animation key frame techniques that define an animation segment with a Color target value. Derived classes each provide a different keyframe interpolation method for a Color value that is provided for a ColorAnimationUsingKeyFrames animation.

XAML
Must use derived objects.
Scripting
Must use derived objects.

Properties

KeyTime, Name, Value

Methods

Equals, FindName, GetHost, GetValue, SetValue

Derived Objects

DiscreteColorKeyFrame, LinearColorKeyFrame, SplineColorKeyFrame

Remarks

ColorKeyFrame is an abstract class that defines Color value type key frames for three different techniques of key frame animation: DiscreteColorKeyFrame, LinearColorKeyFrame, SplineColorKeyFrame. To animate a Color with key frames, you define a ColorAnimationUsingKeyFrames animation, and populate its KeyFrames property with one or more DiscreteColorKeyFrame, LinearColorKeyFrame, or SplineColorKeyFrame elements that define the key frames.

For more information, see the following ColorKeyFrame derived objects: DiscreteColorKeyFrame, LinearColorKeyFrame, SplineColorKeyFrame.

See Also

Silverlight Key-Frame Animations Overview
ColorAnimationUsingKeyFrames