Returns the value of the DefaultDuration dependency property for the specified control.

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

Syntax

C#
public static Duration GetDefaultDuration(
	DependencyObject obj
)
Visual Basic
Public Shared Function GetDefaultDuration ( 
	obj As DependencyObject
) As Duration

Parameters

obj
Type: System.Windows..::..DependencyObject
The control, for which the value of the property is being got.

Return Value

Type: Duration
Default duration of the animation.

Exceptions

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

Contracts

See Also