ToggleSplitButton.IsChecked Property

Definition

Gets or sets whether the ToggleSplitButton is checked.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButton.IsChecked (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property bool IsChecked { bool get(); void set(bool value); };
bool IsChecked();

void IsChecked(bool value);
public bool IsChecked { get; set; }
var boolean = toggleSplitButton.isChecked;
toggleSplitButton.isChecked = boolean;
Public Property IsChecked As Boolean
<ToggleSplitButton IsChecked="bool" />

Property Value

Boolean

bool

true if the ToggleSplitButton is checked; false if the ToggleSplitButton is unchecked. The default is false.

Applies to