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

IXRDependencyObject

    IXRTimeline

        IXRColorAnimation

        IXRColorAnimationUsingKeyFrames

        IXRDoubleAnimation

        IXRDoubleAnimationUsingKeyFrames

        IXRObjectAnimationUsingKeyFrames

        IXRPointAnimation

        IXRPointAnimationUsingKeyFrames

        IXRStoryboard

Methods

Method

Description

IXRTimeline::AddCompletedEventHandler

Attaches a delegate to the Completed event for this timeline. When the Completed event is raised by this timeline, this delegate will be invoked.

IXRTimeline::GetAutoReverse

Retrieves a value that indicates whether the timeline plays in reverse after it completes a forward iteration.

IXRTimeline::GetBeginTime

Retrieves the time at which this timeline will begin.

IXRTimeline::GetDuration

Retrieves the total length of time that this timeline will play.

IXRTimeline::GetFillBehavior

Retrieves a value that specifies how the animation behaves after it reaches the end of its active period.

IXRTimeline::GetRepeatBehavior

Retrieves the repeating behavior of this timeline.

IXRTimeline::GetSpeedRatio

Retrieves the rate, in relation to its parent, at which time progresses for this timeline.

IXRTimeline::RemoveCompletedEventHandler

Removes a delegate from the Completed event for this timeline.

IXRTimeline::SetAutoReverse

Sets a value that indicates whether the timeline plays in reverse after it completes a forward iteration.

IXRTimeline::SetBeginTime

Sets the time at which this timeline will begin.

IXRTimeline::SetDuration

Sets the total length of time that this timeline will play.

IXRTimeline::SetFillBehavior

Sets a value that specifies how the animation behaves after it reaches the end of its active period.

IXRTimeline::SetRepeatBehavior

Sets the repeating behavior of this timeline.

IXRTimeline::SetSpeedRatio

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