Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / ToggleSwitch Class / IsChecked Property


In This Topic
    IsChecked Property (ToggleSwitch)
    In This Topic
    Gets or sets if the ToggleSwitch is checked.
    Syntax
    'Declaration
     
    
    Public Property IsChecked As Boolean
    'Usage
     
    
    Dim instance As ToggleSwitch
    Dim value As Boolean
     
    instance.IsChecked = value
     
    value = instance.IsChecked
    public bool IsChecked {get; set;}
    Remarks
    The value will be true if the ToggleSwitch is checked & false if it isn't.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also