XRClockState (Compact 2013)
3/28/2014
This enumeration describes the potential states of an animation.
Syntax
enum XRClockState
{
XRClockState_Active=0,
XRClockState_Filling=1,
XRClockState_Stopped=2,
};
Members
- XRClockState_Active
The current animation changes in direct relation to that of its parent.
XRClockState_Filling
The current animation waits until any other sibling animations stop. While waiting, the current animation does not stop or complete, nor does it change the value of the animated property.The value of the animated property depends upon the XRFillBehavior enumerated value that IXRTimeline::GetFillBehavior returns.
XRClockState_Stopped
The animation is stopped. For this to occur, other sibling animations must also be stopped.The value of the animated property returns to its initial value.
Remarks
The following illustration shows the different states the animations enter as the parent timeline (Storyboard) progresses.
Key
Stopped Filling Active, forward progressing Active, backward progressing |
This enumeration is not typically used in XAML. To obtain the current state of an animation, use the IXRStoryboard::GetCurrentState method.
.NET Framework Equivalent
System.Windows.Media.Animation.ClockState
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |