Class RadRadialMenuItem
Defines a menu item that is used to visualize radial menu item along with its children within a Rad
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadRadialMenuItem : Control, IRadialMenuItem, IThemable
Constructors
RadRadialMenuItem()
Fields
CanUserSelectProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanUserSelectProperty
Field Value
System.
|
ClickEvent
Identifies the Click routed event.
Declaration
public static readonly RoutedEvent ClickEvent
Field Value
System.
|
CommandParameterProperty
Identifies the Command
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
System.
|
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
System.
|
CommandTargetProperty
Identifies the Command
Declaration
public static readonly DependencyProperty CommandTargetProperty
Field Value
System.
|
ContentSectorBackgroundProperty
Identifies the Content
Declaration
public static readonly DependencyProperty ContentSectorBackgroundProperty
Field Value
System.
|
GroupNameProperty
Identifies the Group
Declaration
public static readonly DependencyProperty GroupNameProperty
Field Value
System.
|
HeaderProperty
Identifies the Header dependency property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
System.
|
IconContentProperty
Identifies the Icon
Declaration
public static readonly DependencyProperty IconContentProperty
Field Value
System.
|
IsSelectedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.
|
MenuProperty
Identifies the Role dependency property.
Declaration
public static readonly DependencyProperty MenuProperty
Field Value
System.
|
ToolTipContentProperty
Identifies the Tool
Declaration
public static readonly DependencyProperty ToolTipContentProperty
Field Value
System.
|
Properties
CanUserSelect
Gets or sets whether a user can select the menu item.
Declaration
public bool CanUserSelect { get; set; }
Property Value
System.
|
Implements
ChildItems
Gets the Rad
Declaration
public ObservableCollection<RadRadialMenuItem> ChildItems { get; }
Property Value
System.
|
Examples
<telerikPrimitives:RadRadialMenu x:Name="radialMenu">
<telerikPrimitives:RadialMenuItem Header="Item" IconContent="" x:Name="menuItem">
<telerikPrimitives:RadialMenuItem Header="SubItem 1" IconContent=""/>
<telerikPrimitives:RadialMenuItem Header="SubItem 2" IconContent=""/>
</telerikPrimitives:RadialMenuItem>
</telerikPrimitives:RadRadialMenu>
var item = this.radialMenu.Items[0];
var children = item.ChildItems;
Command
Gets or sets the System.
Declaration
public ICommand Command { get; set; }
Property Value
System.
|
Implements
CommandParameter
Gets or sets command parameter that will be used by the Command associated with the Rad
Declaration
public object CommandParameter { get; set; }
Property Value
System.
|
Implements
CommandTarget
Gets or sets command target that will be used by the Command associated with the Rad
Declaration
public UIElement CommandTarget { get; set; }
Property Value
System.
|
Implements
ContentSectorBackground
Gets or sets the System.
Declaration
public Brush ContentSectorBackground { get; set; }
Property Value
System.
|
Implements
Examples
<telerikPrimitives:RadialMenuItem ContentSectorBackground="Violet"/>
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
System.
|
Implements
Remarks
All items in a group behave like radio buttons when selected.
Examples
<telerikPrimitives:RadRadialMenu>
<telerikPrimitives:RadialMenuItem GroupName="first" Header="first 1"/>
<telerikPrimitives:RadialMenuItem GroupName="first" Header="first 2"/>
<telerikPrimitives:RadialMenuItem GroupName="first" Header="first 3"/>
<telerikPrimitives:RadialMenuItem GroupName="second" Header="second 1"/>
<telerikPrimitives:RadialMenuItem GroupName="second" Header="second 2"/>
<telerikPrimitives:RadialMenuItem GroupName="second" Header="second 3"/>
</telerikPrimitives:RadRadialMenu>
Header
Gets or sets a value specifying the visual representation of the title of the Rad
Declaration
public object Header { get; set; }
Property Value
System.
|
Implements
Examples
<telerikPrimitives:RadialMenuItem Header="Item" IconContent=""/>
IconContent
Gets or sets a value specifying the visual representation of the icon associated with the Rad
Declaration
public object IconContent { get; set; }
Property Value
System.
|
Implements
Examples
<telerikPrimitives:RadialMenuItem Header="Item" IconContent=""/>
IsSelected
Gets or sets a value indicating whether the menu item is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.
|
Implements
Examples
<telerikPrimitives:RadialMenuItem Header="Item" IconContent="" IsSelected="True"/>
Menu
Gets the RadMenu for this RadMenuItem. This is a readonly dependency property.
Declaration
public RadRadialMenu Menu { get; }
Property Value
ParentItem
Gets the parent Rad
Declaration
public RadRadialMenuItem ParentItem { get; }
Property Value
Examples
<telerikPrimitives:RadialMenuItem x:Name="menuItem"/>
var parent = this.menuItem;
ToolTipContent
Gets or sets the tooltip content of the current Rad
Declaration
public object ToolTipContent { get; set; }
Property Value
System.
|
Implements
Remarks
If this value is not set, the tooltip will display the Header content.
Examples
<telerikPrimitives:RadialMenuItem ToolTipContent="Home"/>
Methods
add_Click(RadRoutedEventHandler)
Declaration
public void add_Click(RadRoutedEventHandler value)
Parameters
Rad
|
ComposeVisualStateName()
Builds the current visual state for this instance.
Declaration
protected string ComposeVisualStateName()
Returns
System.
|
ComposeVisualStateNameBase()
Builds the current visual state for this instance.
Declaration
protected string ComposeVisualStateNameBase()
Returns
System.
|
OnApplyTemplate()
Applies the template for the RadialMenuItemContainer.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates a RadRadialMenuItemAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.
|
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
remove_Click(RadRoutedEventHandler)
Declaration
public void remove_Click(RadRoutedEventHandler value)
Parameters
Rad
|
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SetVisualState(String, Boolean)
Applies the specified visual state as current.
Declaration
protected virtual void SetVisualState(string state, bool animate)
Parameters
System. The new visual state. |
System. True to use transitions, false otherwise. |
UpdateVisualState(Boolean)
Re-evaluates the current visual state for the control and updates it if necessary.
Declaration
protected virtual void UpdateVisualState(bool animate)
Parameters
System. True to use transitions during state update, false otherwise. |
Events
Click
Occurs when a Rad
Declaration
[SRCategory("Behavior")]
public event RadRoutedEventHandler Click
Event Type
Explicit Interface Implementations
IRadialMenuItem.ItemsSource
Declaration
IEnumerable<IRadialMenuItem> IRadialMenuItem.ItemsSource { get; set; }
Returns
System.
|