Xceed Toolkit Plus for WPF v4.6 Documentation
IsChecked Property (ToggleSwitch)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > ToggleSwitch Class : IsChecked Property
Gets or sets if the ToggleSwitch is currently in the checked state (true), the unchecked state (false) or the indeterminate state (null).
Syntax
'Declaration
 
Public Property IsChecked As Nullable(Of Boolean)
'Usage
 
Dim instance As ToggleSwitch

Dim value As Nullable(Of Boolean)

 

instance.IsChecked = value

 

value = instance.IsChecked
public Nullable<bool> IsChecked {get; set;}

Property Value


Remarks
When in the indeterminate state, the ToggleSwitch thumb won't be visible and the control's background will use the UncheckedBackground.
Requirements

See Also

Reference

ToggleSwitch Class
ToggleSwitch Members