Sets the value of the OptimumDuration dependency property for the specified control.

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

Syntax

C#
public static void SetOptimumDuration(
	DependencyObject obj,
	Duration value
)
Visual Basic
Public Shared Sub SetOptimumDuration ( 
	obj As DependencyObject,
	value As Duration
)

Parameters

obj
Type: System.Windows..::..DependencyObject
The control, for which the value of the property is being set.
value
Type: System.Windows..::..Duration
Optimum duration of the animation.

Exceptions

ExceptionCondition
System..::..ArgumentNullException The parameter obj has a value null.

Contracts

See Also