Returns the value of the ThumbThickness 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 GetThumbThickness(
	ToggleSwitch obj
)
Visual Basic
Public Shared Function GetThumbThickness ( 
	obj As ToggleSwitch
) As Double

Parameters

obj
Type: Elysium.Controls..::..ToggleSwitch
The control, for which the value of the property is being got.

Return Value

Type: Double
Thickness of the switch.

Exceptions

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

Contracts

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

See Also