Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / ToggleSwitch Class / IsChecked Property


    IsChecked Property (ToggleSwitch)
    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

    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