Xceed Toolkit for Maui v2.0 Documentation
IsChecked Property (ToggleButton)


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > ToggleButton Class : IsChecked Property
Gets or sets if the ToggleButton is currently checked or not.
Syntax
'Declaration
 
Public Property IsChecked As Nullable(Of Boolean)
'Usage
 
Dim instance As ToggleButton
Dim value As Nullable(Of Boolean)
 
instance.IsChecked = value
 
value = instance.IsChecked
public Nullable<bool> IsChecked {get; set;}
Remarks
The value is true if the ToggleButton is checked, false if it is unchecked & null if it is in an indeterminate state.
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

Reference

ToggleButton Class
ToggleButton Members