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)
<timeline SpeedRatio="double"/>
Property Value
Type: System.DoubleA 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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
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.
- 12/29/2009
- MikeGreenway