Basic Library for WinRT
Creating Mutually Exclusive Checkable Radial Menu Items

In this topic, you learn how to create a list of checkable C1RadialMenuItems that are grouped together so that only one item can be checked at a time.

In XAML

Complete the following steps:

  1. Add IsCheckable="True" and GroupName="CheckableGroup" to the <c1:C1RadialMenuItem> tag of each C1RadialMenuItem 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 the C1RadialMenuItem is highlighted. Now click the second item in the group and observe that the highlight is removed from the first item and then added to the second item.

In Code

  1. Complete the following steps:
  2. Set the Name property of each C1RadialMenuItem you wish to add to the group of mutually exclusive checkable items.
  3. Open the MainPage.xaml.cs page.
  4. Set the IsCheckable and GroupName property of each C1RadialMenuItem, replacing "ItemName" with the value of the C1RadialMenuItem's Name property.
Visual Basic
Copy Code
ItemName.IsCheckable = True
C#
Copy Code
ItemName.IsCheckable = true;
  1. Run the program and tap the first item in the group.
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback