Class
RadRadialMenuItem

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:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
public class RadRadialMenuItem : Control, IRadialMenuItem

Inheritance: objectRadRadialMenuItem

Implements: IRadialMenuItem

Constructors

RadRadialMenuItem()

Initializes a new instance of the RadRadialMenuItem class.

Declaration

cs-api-definition
public RadRadialMenuItem()

Fields

CanUserSelectProperty

Identifies the CanUserSelect dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanUserSelectProperty

Field Value

DependencyProperty

ClickEvent

Identifies the Click routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent ClickEvent

Field Value

RoutedEvent

CommandParameterProperty

Identifies the CommandParameter dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandParameterProperty

Field Value

DependencyProperty

CommandProperty

Identifies the Command dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

CommandTargetProperty

Identifies the CommandTarget dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandTargetProperty

Field Value

DependencyProperty

ContentSectorBackgroundProperty

Identifies the ContentSectorBackground dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentSectorBackgroundProperty

Field Value

DependencyProperty

GroupNameProperty

Identifies the GroupName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupNameProperty

Field Value

DependencyProperty

HeaderProperty

Identifies the Header dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

IconContentProperty

Identifies the IconContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconContentProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

MenuProperty

Identifies the Role dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MenuProperty

Field Value

DependencyProperty

ToolTipContentProperty

Identifies the ToolTipContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipContentProperty

Field Value

DependencyProperty

Properties

CanUserSelect

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

Declaration

cs-api-definition
public bool CanUserSelect { get; set; }

Property Value

bool

Implements IRadialMenuItem.CanUserSelect

ChildItems

Gets the RadRadialMenuItem collection associated with the current RadRadialMenuItem.

Declaration

cs-api-definition
public ObservableCollection<RadRadialMenuItem> ChildItems { get; }

Property Value

ObservableCollection<RadRadialMenuItem>

Command

Gets or sets the ICommand associated the current menu item.

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

Implements IRadialMenuItem.Command

CommandParameter

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

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

Implements IRadialMenuItem.CommandParameter

CommandTarget

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

Declaration

cs-api-definition
public UIElement CommandTarget { get; set; }

Property Value

UIElement

Implements IRadialMenuItem.CommandTarget

ContentSectorBackground

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

Declaration

cs-api-definition
public Brush ContentSectorBackground { get; set; }

Property Value

Brush

Implements IRadialMenuItem.ContentSectorBackground

GroupName

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

Declaration

cs-api-definition
public string GroupName { get; set; }

Property Value

string

Implements IRadialMenuItem.GroupName

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.

Declaration

cs-api-definition
public object Header { get; set; }

Property Value

object

Implements IRadialMenuItem.Header

IconContent

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

Declaration

cs-api-definition
public object IconContent { get; set; }

Property Value

object

Implements IRadialMenuItem.IconContent

IsSelected

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

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

Implements IRadialMenuItem.IsSelected

Menu

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

Declaration

cs-api-definition
public RadRadialMenu Menu { get; }

Property Value

RadRadialMenu

ParentItem

Gets the parent RadRadialMenuItem of the current menu item.

Declaration

cs-api-definition
public RadRadialMenuItem ParentItem { get; }

Property Value

RadRadialMenuItem

ToolTipContent

Gets or sets the tooltip content of the current RadRadialMenuItem.

Declaration

cs-api-definition
public object ToolTipContent { get; set; }

Property Value

object

Implements IRadialMenuItem.ToolTipContent

Remarks

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

Methods

ComposeVisualStateName()

Builds the current visual state for this instance.

Declaration

cs-api-definition
protected string ComposeVisualStateName()

Returns

string

ComposeVisualStateNameBase()

Builds the current visual state for this instance.

Declaration

cs-api-definition
protected string ComposeVisualStateNameBase()

Returns

string

OnApplyTemplate()

Applies the template for the RadialMenuItemContainer.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Creates a RadRadialMenuItemAutomationPeer.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

SetVisualState(string, bool)

Applies the specified visual state as current.

Declaration

cs-api-definition
protected virtual void SetVisualState(string state, bool animate)

Parameters

state

string

The new visual state.

animate

bool

True to use transitions, false otherwise.

UpdateVisualState(bool)

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

Declaration

cs-api-definition
protected virtual void UpdateVisualState(bool animate)

Parameters

animate

bool

True to use transitions during state update, false otherwise.

Events

Click

Occurs when a RadRadialMenuItem is clicked.

Declaration

cs-api-definition
[SRCategory("Behavior")]
public event RadRoutedEventHandler Click

Event Value

RadRoutedEventHandler