New to Telerik UI for WPF? Download free 30-day trial

Getting Started

This topic will walk you through the creating of RadRadialMenu.

In order to use RadRadialMenu in your project you have to add references to the following two assemblies:

  • Telerik.Windows.Controls.dll
  • Telerik.Windows.Controls.Navigation.dll

RadRadialMenu as a Normal Menu

You can include the control in your page by either dragging it from the toolbox in Visual Studio, or manually creating the control. Below is an example of how to create the RadRadialMenu control in code behind and XAML code:

Creating RadRadialMenu

    <telerik:RadRadialMenuItem Header="Item 1" /> 
    <telerik:RadRadialMenuItem Header="Item 2" /> 
    <telerik:RadRadialMenuItem Header="Item 3" /> 
where telerik namespace is defined like this:

Creating RadRadialMenu with code

var radialMenu = new RadRadialMenu(); 
radialMenu.Items.Add(new RadRadialMenuItem() { Header = "Item 1" }); 
radialMenu.Items.Add(new RadRadialMenuItem() { Header = "Item 2" }); 
radialMenu.Items.Add(new RadRadialMenuItem() { Header = "Item 3" }); 

RadRadialMenu as a Context Menu

Here is a simple example demonstrating how to declare a RadRadialMenu instance as a context menu for a TextBox using its ShowEventName and HideEventName properties.

RadialMenu as a ContextMenu

<TextBox Text="Some Text"> 
        <telerik:RadRadialMenu ShowEventName="GotFocus" HideEventName="LostFocus"> 
            <telerik:RadRadialMenuItem Header="Item 1" /> 
            <telerik:RadRadialMenuItem Header="Item 2" /> 
            <telerik:RadRadialMenuItem Header="Item 3" /> 
For further reference check RadRadialMenu as a ContextMenu topic.

See Also

In this article
Not finding the help you need? Improve this article