Version

XamRadialMenu Class

Represents a circular menu control similar to that used in Microsoft's One Note MX.
Syntax
'Declaration
 
Public Class XamRadialMenu 
   Inherits System.Windows.Controls.Control
public class XamRadialMenu : System.Windows.Controls.Control 
Remarks

The XamRadialMenu has a button within the center that is used to open and close the menu to display the child items. There are several properties to control the appearance of the center button. The CenterButtonContent property defines the content of the center button. Once the user navigates to the children of an item, the content is replaced by the CenterButtonBackTemplate which by default displays a back arrow.

The radial menu may be opened or closed via several triggers such as clicking the center button, pressing the CenterButtonKeyTip character while in key tip mode, using the Space or Enter key while the center button is focused or programatically using the IsOpen property. The Opened and Closed events are raised when the menu is opened and closed respectively.

The children of the radial menu are displayed in wedges/slices around the center button. By default the number of wedges is based upon the number and placement of the visible child items at each level. One can force a minimum number of wedges using the MinWedgeCount. By default, the children are arranged starting at the top but the starting rotation may be controlled using the RotationInDegrees and RotationAsPercentageOfWedge properties. The WedgeIndex and WedgeSpan determine the position and number of wedges that the item should span.

The radial menu is populated with child item by either adding objects to the Items property or by setting the ItemsSource. The containers expected for the radial menu children are classes deriving from RadialMenuItemBase such as RadialMenuItem, RadialMenuColorItem, RadialMenuColorWell, RadialMenuNumericItem, RadialMenuNumericGauge and RadialMenuList. When using the ItemsSource by default a RadialMenuItem will be created to represent each item in the provided collection. One can control the type of container created using the ItemContainerTemplate and ItemContainerTemplateDefinitions properties.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also