ScaleKeyframe Element
Defines a scale keyframe for an animation.
Syntax
<ScaleKeyframe
Interpolation="Interpolation element"
RelativeTo="{Absolute | Current | Final}"
Time="float"
Value="Vector3"
/>
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
A Vector3 structure that specifies the keyframe value.
Note When using a Z-coordinate of 0, Windows Media Center may not recognize when the user mouses over the view item. For example, a mouse click may not be captured.
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