ClassRadRadialMenuItem
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:
[TelerikToolboxCategory("Navigation")]
public class RadRadialMenuItem : Control, IRadialMenuItem
Inheritance: objectRadRadialMenuItem
Implements:
Constructors
RadRadialMenuItem()
Initializes a new instance of the RadRadialMenuItem class.
Declaration
public RadRadialMenuItem()
Fields
CanUserSelectProperty
Identifies the CanUserSelect dependency property.
Declaration
public static readonly DependencyProperty CanUserSelectProperty
Field Value
DependencyProperty
ClickEvent
Identifies the Click routed event.
Declaration
public static readonly RoutedEvent ClickEvent
Field Value
RoutedEvent
CommandParameterProperty
Identifies the CommandParameter dependency property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
DependencyProperty
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
DependencyProperty
CommandTargetProperty
Identifies the CommandTarget dependency property.
Declaration
public static readonly DependencyProperty CommandTargetProperty
Field Value
DependencyProperty
ContentSectorBackgroundProperty
Identifies the ContentSectorBackground dependency property.
Declaration
public static readonly DependencyProperty ContentSectorBackgroundProperty
Field Value
DependencyProperty
GroupNameProperty
Identifies the GroupName dependency property.
Declaration
public static readonly DependencyProperty GroupNameProperty
Field Value
DependencyProperty
HeaderProperty
Identifies the Header dependency property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
DependencyProperty
IconContentProperty
Identifies the IconContent dependency property.
Declaration
public static readonly DependencyProperty IconContentProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
MenuProperty
Identifies the Role dependency property.
Declaration
public static readonly DependencyProperty MenuProperty
Field Value
DependencyProperty
ToolTipContentProperty
Identifies the ToolTipContent dependency property.
Declaration
public static readonly DependencyProperty ToolTipContentProperty
Field Value
DependencyProperty
Properties
CanUserSelect
Gets or sets whether a user can select the menu item.
Declaration
public bool CanUserSelect { get; set; }
Property Value
Implements
ChildItems
Gets the RadRadialMenuItem collection associated with the current RadRadialMenuItem.
Declaration
public ObservableCollection<RadRadialMenuItem> ChildItems { get; }
Property Value
Command
Gets or sets the ICommand associated the current menu item.
Declaration
public ICommand Command { get; set; }
Property Value
Implements
CommandParameter
Gets or sets command parameter that will be used by the Command associated with the RadRadialMenuItem.
Declaration
public object CommandParameter { get; set; }
Property Value
Implements
CommandTarget
Gets or sets command target that will be used by the Command associated with the RadRadialMenuItem.
Declaration
public UIElement CommandTarget { get; set; }
Property Value
UIElement
Implements
ContentSectorBackground
Gets or sets the Brush value that defines the background of the RadRadialMenuItem.
Declaration
public Brush ContentSectorBackground { get; set; }
Property Value
Brush
Implements
GroupName
Gets or sets a value specifying the name of the group this item belongs to. The default value is null.
Declaration
public string GroupName { get; set; }
Property Value
Implements
Remarks
All items in a group behave like radio buttons when selected.
Header
Gets or sets a value specifying the visual representation of the title of the RadRadialMenuItem.
IconContent
Gets or sets a value specifying the visual representation of the icon associated with the RadRadialMenuItem.
Declaration
public object IconContent { get; set; }
Property Value
Implements
IsSelected
Gets or sets a value indicating whether the menu item is selected.
Menu
Gets the RadMenu for this RadMenuItem. This is a readonly dependency property.
ParentItem
Gets the parent RadRadialMenuItem of the current menu item.
Declaration
public RadRadialMenuItem ParentItem { get; }
Property Value
ToolTipContent
Gets or sets the tooltip content of the current RadRadialMenuItem.
Methods
ComposeVisualStateName()
Builds the current visual state for this instance.
ComposeVisualStateNameBase()
Builds the current visual state for this instance.
OnApplyTemplate()
Applies the template for the RadialMenuItemContainer.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates a RadRadialMenuItemAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
SetVisualState(string, bool)
Applies the specified visual state as current.
UpdateVisualState(bool)
Re-evaluates the current visual state for the control and updates it if necessary.
Declaration
protected virtual void UpdateVisualState(bool animate)
Parameters
animate
True to use transitions during state update, false otherwise.
Events
Click
Occurs when a RadRadialMenuItem is clicked.
Declaration
[SRCategory("Behavior")]
public event RadRoutedEventHandler Click
Event Value