ClassRadialMenuItem
Defines an abstraction of a menu item that is used to visualize command item along with its children within a RadRadialMenu component.
Definition
Namespace:Telerik.UI.Xaml.Controls.Navigation
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadialMenuItem : RadDependencyObject
Inheritance: objectRadDependencyObjectRadialMenuItem
Constructors
RadialMenuItem()
Declaration
public RadialMenuItem()
Fields
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
ContentSectorBackgroundProperty
Identifies the ContentSectorBackground dependency property.
Declaration
public static readonly DependencyProperty ContentSectorBackgroundProperty
Field Value
DependencyProperty
DeselectableProperty
Identifies the Deselectable dependency property.
Declaration
public static readonly DependencyProperty DeselectableProperty
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
IsEnabledProperty
Identifies the IsEnabled dependency property.
Declaration
public static readonly DependencyProperty IsEnabledProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
SelectableProperty
Identifies the Selectable dependency property.
Declaration
public static readonly DependencyProperty SelectableProperty
Field Value
DependencyProperty
ToolTipContentProperty
Identifies the ToolTipContent dependency property.
Declaration
public static readonly DependencyProperty ToolTipContentProperty
Field Value
DependencyProperty
Properties
ChildItems
Gets the RadialMenuItem collection associated with the current RadialMenuItem.
Declaration
public BindableCollection<RadialMenuItem> ChildItems { get; }
Property Value
Example
<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;
CommandParameter
Gets or sets command parameter that will be used by the Command associated with the RadialMenuItem.
ContentSectorBackground
Gets or sets the Brush value that defines the background of the RadialMenuItem.
Declaration
public Brush ContentSectorBackground { get; set; }
Property Value
Brush
Example
<telerikPrimitives:RadialMenuItem ContentSectorBackground="Violet"/>
Deselectable
Gets or sets a value indicating whether the RadialMenuItem can be deselected.
Declaration
public bool Deselectable { get; set; }
Property Value
Example
<telerikPrimitives:RadialMenuItem Header="Item" IconContent="" Deselectable="True"/>
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
Remarks
All items in a group behave like radio buttons when selected.
Example
<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 RadialMenuItem.
Declaration
public object Header { get; set; }
Property Value
Example
<telerikPrimitives:RadialMenuItem Header="Item" IconContent=""/>
IconContent
Gets or sets a value specifying the visual representation of the icon associated with the RadialMenuItem.
Declaration
public object IconContent { get; set; }
Property Value
Example
<telerikPrimitives:RadialMenuItem Header="Item" IconContent=""/>
IsEnabled
Gets or sets a value indicating whether the RadialMenuItem will be enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
Example
<telerikPrimitives:RadialMenuItem Header="Item" IconContent="" IsEnabled="True"/>
IsSelected
Gets or sets a value indicating whether the menu item is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Example
<telerikPrimitives:RadialMenuItem Header="Item" IconContent="" IsSelected="True"/>
ParentItem
Gets the parent RadialMenuItem of the current menu item.
Declaration
public RadialMenuItem ParentItem { get; }
Property Value
Example
<telerikPrimitives:RadialMenuItem x:Name="menuItem"/>
var parent = this.menuItem;
Selectable
Gets or sets a value indicating whether the RadialMenuItem can be selected.
Declaration
public bool Selectable { get; set; }
Property Value
Example
<telerikPrimitives:RadialMenuItem Header="Item" IconContent="" Selectable="True"/>
ToolTipContent
Gets or sets the tooltip content of the current RadialMenuItem.