Gets or sets the default duration of the animation.

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

Syntax

C#
See GetDefaultDuration, SetDefaultDuration
Visual Basic
See GetDefaultDuration, SetDefaultDuration

Property Value

Type: Duration
Default duration of the animation. The default value is 0 sec.

Remarks

Identifier fieldDefaultDurationProperty
MetadataInherits

Examples

C# Copy imageCopy
1var control = new Button();
2var currentValue = Parameters.GetDefaultDuration(control);
3Parameters.SetDefaultDuration(control, new Duration(TimeSpan.FromSeconds(0d)));
XAML Copy imageCopy
1<Button params:General.DefaultDuration="00:00:00.0"/>

See Also