Gets or sets the thickness of the switch in the control ToggleSwitch.

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

Syntax

C#
See GetThumbThickness, SetThumbThickness
Visual Basic
See GetThumbThickness, SetThumbThickness

Property Value

Type: Double
Thickness of the switch. The default value is 10 px.

Remarks

Identifier fieldThumbThicknessProperty
MetadataAffectsMeasure

Examples

C# Copy imageCopy
1var control = new ToggleSwitch();
2var currentValue = Parameters.ToggleSwitch.GetThumbThickness(control);
3Parameters.ToggleSwitch.SetThumbThickness(control, 10d);
XAML Copy imageCopy
1<ToggleSwitch params:ToggleSwitch.ThumbThickness="10px"/>

See Also