New to Telerik UI for WPFStart a free 30-day trial

Defines a menu item that is used to visualize radial menu item along with its children within a RadRadialMenu component.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
[TelerikToolboxCategory("Navigation")]
public class RadRadialMenuItem : Control, IRadialMenuItem

Inheritance: objectRadRadialMenuItem

Implements: IRadialMenuItem

Constructors

Initializes a new instance of the RadRadialMenuItem class.

C#
public RadRadialMenuItem()

Fields

CanUserSelectProperty

DependencyProperty

Identifies the CanUserSelect dependency property.

C#
public static readonly DependencyProperty CanUserSelectProperty

ClickEvent

RoutedEvent

Identifies the Click routed event.

C#
public static readonly RoutedEvent ClickEvent

CommandParameterProperty

DependencyProperty

Identifies the CommandParameter dependency property.

C#
public static readonly DependencyProperty CommandParameterProperty

CommandProperty

DependencyProperty

Identifies the Command dependency property.

C#
public static readonly DependencyProperty CommandProperty

CommandTargetProperty

DependencyProperty

Identifies the CommandTarget dependency property.

C#
public static readonly DependencyProperty CommandTargetProperty

Identifies the ContentSectorBackground dependency property.

C#
public static readonly DependencyProperty ContentSectorBackgroundProperty

GroupNameProperty

DependencyProperty

Identifies the GroupName dependency property.

C#
public static readonly DependencyProperty GroupNameProperty

HeaderProperty

DependencyProperty

Identifies the Header dependency property.

C#
public static readonly DependencyProperty HeaderProperty

IconContentProperty

DependencyProperty

Identifies the IconContent dependency property.

C#
public static readonly DependencyProperty IconContentProperty

IsSelectedProperty

DependencyProperty

Identifies the IsSelected dependency property.

C#
public static readonly DependencyProperty IsSelectedProperty

MenuProperty

DependencyProperty

Identifies the Role dependency property.

C#
public static readonly DependencyProperty MenuProperty

ToolTipContentProperty

DependencyProperty

Identifies the ToolTipContent dependency property.

C#
public static readonly DependencyProperty ToolTipContentProperty

Properties

Gets or sets whether a user can select the menu item.

C#
public bool CanUserSelect { get; set; }

Implements: IRadialMenuItem.CanUserSelect

Gets the RadRadialMenuItem collection associated with the current RadRadialMenuItem.

C#
public ObservableCollection<RadRadialMenuItem> ChildItems { get; }

Gets or sets the ICommand associated the current menu item.

C#
public ICommand Command { get; set; }

Implements: IRadialMenuItem.Command

Gets or sets command parameter that will be used by the Command associated with the RadRadialMenuItem.

C#
public object CommandParameter { get; set; }

Implements: IRadialMenuItem.CommandParameter

CommandTarget

UIElement

Gets or sets command target that will be used by the Command associated with the RadRadialMenuItem.

C#
public UIElement CommandTarget { get; set; }

Implements: IRadialMenuItem.CommandTarget

Gets or sets the Brush value that defines the background of the RadRadialMenuItem.

C#
public Brush ContentSectorBackground { get; set; }

Implements: IRadialMenuItem.ContentSectorBackground

Gets or sets a value specifying the name of the group this item belongs to. The default value is null.

C#
public string GroupName { get; set; }

Implements: IRadialMenuItem.GroupName

Remarks:

All items in a group behave like radio buttons when selected.

Gets or sets a value specifying the visual representation of the title of the RadRadialMenuItem.

C#
public object Header { get; set; }

Implements: IRadialMenuItem.Header

Gets or sets a value specifying the visual representation of the icon associated with the RadRadialMenuItem.

C#
public object IconContent { get; set; }

Implements: IRadialMenuItem.IconContent

Gets or sets a value indicating whether the menu item is selected.

C#
public bool IsSelected { get; set; }

Implements: IRadialMenuItem.IsSelected

Gets the RadMenu for this RadMenuItem. This is a readonly dependency property.

C#
public RadRadialMenu Menu { get; }

Gets the parent RadRadialMenuItem of the current menu item.

C#
public RadRadialMenuItem ParentItem { get; }

Gets or sets the tooltip content of the current RadRadialMenuItem.

C#
public object ToolTipContent { get; set; }

Implements: IRadialMenuItem.ToolTipContent

Remarks:

If this value is not set, the tooltip will display the Header content.

Methods

Builds the current visual state for this instance.

C#
protected string ComposeVisualStateName()
Returns:

string

Builds the current visual state for this instance.

C#
protected string ComposeVisualStateNameBase()
Returns:

string

Applies the template for the RadialMenuItemContainer.

C#
public override void OnApplyTemplate()

Creates a RadRadialMenuItemAutomationPeer.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()

Applies the specified visual state as current.

C#
protected virtual void SetVisualState(string state, bool animate)
Parameters:statestring

The new visual state.

animatebool

True to use transitions, false otherwise.

Re-evaluates the current visual state for the control and updates it if necessary.

C#
protected virtual void UpdateVisualState(bool animate)
Parameters:animatebool

True to use transitions during state update, false otherwise.

Events

Occurs when a RadRadialMenuItem is clicked.

C#
[SRCategory("Behavior")]
public event RadRoutedEventHandler Click