Timeline.SpeedRatio Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the rate, relative to its parent, at which time progresses for this Timeline.

Namespace: System.Windows.Media.Animation
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property SpeedRatio As Double
public double SpeedRatio { get; set; }
<timeline SpeedRatio="double"/>

Property Value

Type: System..::.Double
A finite value greater than 0 that specifies the rate at which time progresses for this timeline, relative to the speed of the timeline's parent. If this timeline is a root timeline, specifies the default timeline speed. The value is expressed as a factor where 1 represents normal speed, 2 is double speed, 0.5 is half speed, and so on. The default value is 1.

Remarks

Dependency property identifier field: SpeedRatioProperty

A timeline's SpeedRatio setting does not have an effect on its BeginTime; that time is relative to the timeline's parent or, if the timeline is a root timeline, the moment at which the timeline's clock was begun.

Momentary or nonlinear apparent speed changes to animations can be accomplished using spline animations.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Timeline Class

System.Windows.Media.Animation Namespace

Other Resources

Animations, motion, and output for Windows Phone