SetStoryboardSpeedRatio.SpeedRatio Property

 

Gets or sets a new Storyboard animation speed as a ratio of the old animation speed.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double SpeedRatio { get; set; }

Property Value

Type: System.Double

The speed ratio for the Storyboard. The default value is 1.0.

Use this property to specify a new Storyboard animation speed as a ratio of the old animation speed. For example, if you set the SpeedRatio to 2, you double the speed of the Storyboard animations and if you set a value of 0.5, you reduce the speed by 50 percent.

.NET Framework
Available since 3.0
Return to top
Show: