Gets or sets the optimum duration of the animation.

Namespace: Elysium.Parameters
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
See GetOptimumDuration, SetOptimumDuration
Visual Basic
See GetOptimumDuration, SetOptimumDuration

Property Value

Type: Duration
Optimum duration of the animation. The default value is 0.5 sec.

Remarks

Identifier fieldOptimumDurationProperty
MetadataInherits

Examples

C# Copy imageCopy
1var control = new Button();
2var currentValue = Parameters.GetOptimumDuration(control);
3Parameters.SetOptimumDuration(control, new Duration(TimeSpan.FromSeconds(0.5d)));
XAML Copy imageCopy
1<Button params:General.OptimumDuration="00:00:00.5"/>

See Also