ColorKeyframe Element
Defines a color keyframe for an animation.
Syntax
<ColorKeyframe
Interpolation="Interpolation element"
RelativeTo="{Absolute | Current}"
Time="float"
Value="Color"
/>
Attributes
Interpolation
Specifies the Interpolation from this keyframe to the next. Use the inline construction for this element.
RelativeTo
A member of the KeyframeValueReference enumeration that specifies how to interpret the keyframe's value.
Time
Specifies the time, in seconds, at which this keyframe occurs.
Value
Specifies the Color of this keyframe.
Remarks
Animations require at least two keyframes of the same type (for example, two AlphaKeyFrames). With only one keyframe, there is no beginning or end and therefore nothing to animate. In addition, the first keyframe must start at Time="0"
.
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also