Export (0) Print
Expand All

Timeline.SpeedRatio Property

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)

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.

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. For details, see Key-Frame Animations.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2014 Microsoft