Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.19 KB

radiomenuflyoutitem_ischecked.md

File metadata and controls

36 lines (26 loc) · 1.19 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.RadioMenuFlyoutItem.IsChecked
winrt property

Microsoft.UI.Xaml.Controls.RadioMenuFlyoutItem.IsChecked

-description

Gets or sets whether the RadioMenuFlyoutItem is checked.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-property-value

-remarks

-see-also

-examples

RadioMenuFlyoutItem can be added into a MenuBarItem, MenuFlyout, or MenuFlyoutSubItem. The following example shows three radio menu flyout items as the content of a cascading menu flyout. The "Medium icons" item is checked.

Three radio menu flyout items in a View goup that allow a user to select the size of icons

<MenuFlyout>
    <MenuFlyoutSubItem Text="View">
        <muxc:RadioMenuFlyoutItem Text="Small icons"/>
        <muxc:RadioMenuFlyoutItem Text="Medium icons" IsChecked="True"/>
        <muxc:RadioMenuFlyoutItem Text="Large icons"/>
    </MenuFlyoutSubItem>
</MenuFlyout>