Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XRClockState (Compact 2013)

3/28/2014

This enumeration describes the potential states of an animation.


enum XRClockState
{
    XRClockState_Active=0,
    XRClockState_Filling=1,
    XRClockState_Stopped=2,
};

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.

The following illustration shows the different states the animations enter as the parent timeline (Storyboard) progresses.

Ee501562.e9cfdb19-1b82-48df-be37-935eda0817d0(en-us,WinEmbedded.80).jpg

Key

Ee501562.efc2d451-e76e-4466-a83a-7a7e6bd52e1a(en-us,WinEmbedded.80).jpg Stopped

Ee501562.25aa1d2e-e999-4c1f-bd18-9fff5ea9ed62(en-us,WinEmbedded.80).jpg Filling

Ee501562.f29f936f-0687-4ad0-9556-f3028bf574f9(en-us,WinEmbedded.80).jpg Active, forward progressing

Ee501562.7f17f48c-dabc-4c62-b16a-0be05d3b7095(en-us,WinEmbedded.80).jpg Active, backward progressing

This enumeration is not typically used in XAML. To obtain the current state of an animation, use the IXRStoryboard::GetCurrentState method.

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

Show:
© 2015 Microsoft