IXRTimeline (Compact 2013)
3/28/2014
This class defines a segment of time and provides the base class for animations in XAML for Windows Embedded.
Syntax
class IXRTimeline : public IXRDependencyObject
Inheritance Hierarchy
IXRTimeline
IXRColorAnimationUsingKeyFrames
IXRDoubleAnimationUsingKeyFrames
IXRObjectAnimationUsingKeyFrames
IXRPointAnimationUsingKeyFrames
Methods
Method |
Description |
---|---|
Attaches a delegate to the Completed event for this timeline. When the Completed event is raised by this timeline, this delegate will be invoked. |
|
Retrieves a value that indicates whether the timeline plays in reverse after it completes a forward iteration. |
|
Retrieves the time at which this timeline will begin. |
|
Retrieves the total length of time that this timeline will play. |
|
Retrieves a value that specifies how the animation behaves after it reaches the end of its active period. |
|
Retrieves the repeating behavior of this timeline. |
|
Retrieves the rate, in relation to its parent, at which time progresses for this timeline. |
|
Removes a delegate from the Completed event for this timeline. |
|
Sets a value that indicates whether the timeline plays in reverse after it completes a forward iteration. |
|
Sets the time at which this timeline will begin. |
|
Sets the total length of time that this timeline will play. |
|
Sets a value that specifies how the animation behaves after it reaches the end of its active period. |
|
Sets the repeating behavior of this timeline. |
|
Sets the rate, in relation to its parent, at which time progresses for this timeline. |
Thread Safety
Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.
Remarks
IXRTimeline represents a segment of time. It provides functionality that enables you to specify to length of that segment, when it should start, how many times it will repeat, how fast time progresses in that segment, and more. Classes that derive from IXRTimeline provide animation functionality.
When you create a class instance, use an IXRTimelinePtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.
.NET Framework Equivalent
System.Windows.Media.Animation.Timeline
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
Classes for Animation Storyboards
Classes for Visual Appearance