Editar

Partilhar via


SetStoryboardSpeedRatio.SpeedRatio Property

Definition

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

public:
 property double SpeedRatio { double get(); void set(double value); };
public double SpeedRatio { get; set; }
member this.SpeedRatio : double with get, set
Public Property SpeedRatio As Double

Property Value

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

Remarks

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.

Applies to