AlphaKeyframe Element
Specifies an alpha keyframe for an animation.
Syntax
<AlphaKeyframe
Interpolation="Interpolation element"
RelativeTo="{Absolute | Current | Final}"
Time="float"
Value="float"
/>
Attributes
Interpolation
Specifies the Interpolation from this keyframe to the next. You must use the inline construction of 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 keyframe value, which corresponds to the opacity of the view item. This value must be between 0.0 and 1.0.
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