Returns the value of the TrackSize 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 double GetTrackSize(
	Slider obj
)
Visual Basic
Public Shared Function GetTrackSize ( 
	obj As Slider
) As Double

Parameters

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

Return Value

Type: Double
Length of the track of a trackbar.

Exceptions

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

Contracts

Requires
obj != null
Ensures
The being returned value is positive.

See Also