ToggleMenuFlyoutItem.IsChecked Property

Definition

Gets or sets whether the ToggleMenuFlyoutItem is checked.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ToggleMenuFlyoutItem.IsChecked.

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

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

Property Value

Boolean

bool

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

Applies to