Class RadMenu
Represents a menu control that enables you to hierarchically organize elements with associated event handlers.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadMenu : MenuBase
Constructors
RadMenu()
Fields
IsMainMenuProperty
Identifies the IsMainMenu dependency property.
Declaration
public static readonly DependencyProperty IsMainMenuProperty
Field Value
System.
|
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.
|
TopLevelHideDelayProperty
Identifies the TopLevelHideDelay dependency property.
Declaration
public static readonly DependencyProperty TopLevelHideDelayProperty
Field Value
System.
|
TopLevelShowDelayProperty
Identifies the TopLevelShowDelay dependency property.
Declaration
public static readonly DependencyProperty TopLevelShowDelayProperty
Field Value
System.
|
WaitForTopLevelHeaderHideDurationProperty
Identifies the WaitForTopLevelHeaderHideDuration dependency property.
Declaration
public static readonly DependencyProperty WaitForTopLevelHeaderHideDurationProperty
Field Value
System.
|
Properties
IsMainMenu
Gets or sets a value that specifies whether this RadMenu will participate in main menu activation notification. The default value is False. This is a dependency property.
Declaration
public bool IsMainMenu { get; set; }
Property Value
System.
|
Orientation
Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.
|
TopLevelHideDelay
Gets or sets the time, in milliseconds, before closing menu when the mouse cursor leave a root menu item.
Declaration
public Duration TopLevelHideDelay { get; set; }
Property Value
System.
|
TopLevelShowDelay
Gets or sets the time, in milliseconds, before displaying menu when the mouse cursor is over a root menu item.
Declaration
public Duration TopLevelShowDelay { get; set; }
Property Value
System.
|
WaitForTopLevelHeaderHideDuration
Gets or sets whether RadMenu will wait for TopLevelHideDelay to complete or not. If set to True root menu item will stay open until TopLevelHideDelay is completed.
Declaration
public bool WaitForTopLevelHeaderHideDuration { get; set; }
Property Value
System. True if RadMenu waits until TopLevelHideDelay is completed; otherwise, false. |
Methods
OnCreateAutomationPeer()
Provides an appropriate Rad
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnKeyDown(KeyEventArgs)
Invoked when keyboard key is pressed while the element has focus.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System. The KeyEventArgs that contains the event data. |
Overrides
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System. Element used to display the specified item. |
System. Specified item. |
Overrides
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|