Export (0) Print
Expand All
Run
Expand Minimize

ColorKeyFrame

Silverlight

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 key frame interpolation method for a Color value that is provided for a ColorAnimationUsingKeyFrames animation.

See Derived Objects for syntax information.

ColorKeyFrame is an abstract object that defines Color value type key frames for three different techniques of key frame animation: DiscreteColorKeyFrame, LinearColorKeyFrame, and 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, and SplineColorKeyFrame.

For more information on basic concepts, see Key-Frame Animations. Note that the Key-Frame Animations topic is written primarily for users of the managed API, and may not have code examples or specific information that address the JavaScript API scenarios.

Community Additions

ADD
Show:
© 2014 Microsoft