Gets or sets the maximum duration of the animation.

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

Syntax

C#
See GetMaximumDuration, SetMaximumDuration
Visual Basic
See GetMaximumDuration, SetMaximumDuration

Property Value

Type: Duration
Maximum duration of the animation. The default value is 1 sec.

Remarks

Identifier fieldMaximumDurationProperty
MetadataInherits

Examples

C# Copy imageCopy
1var control = new Button();
2var currentValue = Parameters.GetMaximumDuration(control);
3Parameters.SetMaximumDuration(control, new Duration(TimeSpan.FromSeconds(1d)));
XAML Copy imageCopy
1<Button params:General.MaximumDuration="00:00:01"/>

See Also