WPF and Silverlight Edition Basic Library / Menu and ContextMenu / Menu and ContextMenu Features / Checkable Menu Items / Mutually Exclusive Checkable Menu Items
Mutually Exclusive Checkable Menu Items

With the C1Menu control, you can create a list of checkable menu items that are grouped together so that only one item can be checked at a time.

Complete the following steps:

  1. Add IsCheckable="True" and GroupName="CheckableGroup" to the <c1:C1MenuItem> tag of each menu item you wish to add to the group of mutually exclusive checkable items.
  2. Run the program and click the first item in the group. Observe that a check is added to the menu item. Now click the second item in the group and observe that the check is removed from the first item and then added to the second item.