You can create a group of mutually exclusive checkable items by setting the GroupName property of each item you wish to add to the group. For example, the XAML below will create a group of four mutually exclusive checkable items.
XAML |
Copy Code
|
---|---|
<c1:C1RadialMenu SectorCount="8" > <c1:C1RadialMenuItem Header="Insert" SectorCount="8" AutoSelect="True" ShowSelectedItem="True" IsCheckable="True" > <c1:C1RadialMenuItem Header="Insert Left" IsCheckable="True" GroupName="MutuallyExclusiveGroup"/> <c1:C1RadialMenuItem Header="Insert Above" DisplayIndex="2" IsCheckable="True" GroupName="MutuallyExclusiveGroup"/> <c1:C1RadialMenuItem Header="Insert Right" DisplayIndex="4" IsCheckable="True" GroupName="MutuallyExclusiveGroup"/> <c1:C1RadialMenuItem Header="Insert Below" DisplayIndex="6" IsCheckable="True" GroupName="MutuallyExclusiveGroup" /> </c1:C1RadialMenuItem> </c1:C1RadialMenu> |
To create a group of C1RadialMenuItems and only allow one item to be checked at a time, follow these steps: