0 out of 1 rated this helpful - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Changing the speedRatio of a running storyboard
Hi

You should address changing the SpeedRatio of a running storyboard. Why is there always skipped frames when you change the speed of a running storyboard? The animation jumps and it is very distracting.

I'm showing people how milk flows though a positive displacement pump, allowing them to slow it down while it is running is fun and insightful - the jumped frames are very negative.