Closed bdlukaa closed 1 month ago
RadioMenuFlyoutItem RadioMenuFlyoutItem lets only one element of its group to be checked.
RadioMenuFlyoutItem
<muxc:MenuBarItem Title="View"> <MenuFlyoutItem Text="Output"/> <MenuFlyoutSeparator/> <muxc:RadioMenuFlyoutItem Text="Landscape" GroupName="OrientationGroup"/> <muxc:RadioMenuFlyoutItem Text="Portrait" GroupName="OrientationGroup" IsChecked="True"/> <MenuFlyoutSeparator/> <muxc:RadioMenuFlyoutItem Text="Small icons" GroupName="SizeGroup"/> <muxc:RadioMenuFlyoutItem Text="Medium icons" IsChecked="True" GroupName="SizeGroup"/> <muxc:RadioMenuFlyoutItem Text="Large icons" GroupName="SizeGroup"/> </muxc:MenuBarItem>
ToggleMenuFlyoutItem ToggleMenuFlyoutItem lets several elements of its group to be checked.
ToggleMenuFlyoutItem
<Button Content="Options"> <Button.Flyout> <MenuFlyout> <MenuFlyoutItem Text="Reset"/> <MenuFlyoutSeparator/> <ToggleMenuFlyoutItem Text="Repeat" IsChecked="False"/> <ToggleMenuFlyoutItem Text="Shuffle" IsChecked="True"/> </MenuFlyout> </Button.Flyout> </Button>
RadioMenuFlyoutItem
RadioMenuFlyoutItem
lets only one element of its group to be checked.ToggleMenuFlyoutItem
ToggleMenuFlyoutItem
lets several elements of its group to be checked.