skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadMenu

Represents a menu control that enables you to hierarchically organize elements with associated event handlers.

Inheritance
System.Object
MenuBase
RadMenu
Inherited Members
MenuBase.ItemContainerTemplateSelectorProperty
MenuBase.IconColumnWidthProperty
MenuBase.ClickToOpenProperty
MenuBase.ShowDelayProperty
MenuBase.HideDelayProperty
MenuBase.NotifyOnHeaderClickProperty
MenuBase.add_ItemClick(RadRoutedEventHandler)
MenuBase.remove_ItemClick(RadRoutedEventHandler)
MenuBase.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
MenuBase.GetContainerForItemOverride()
MenuBase.IsItemItsOwnContainerOverride(Object)
MenuBase.IsItemItsOwnContainerProtected(Object)
MenuBase.ClearContainerForItemOverride(DependencyObject, Object)
MenuBase.OnItemClick(RadRoutedEventArgs)
MenuBase.OnLoaded(RoutedEventArgs)
MenuBase.NotifyOnHeaderClick
MenuBase.ClickToOpen
MenuBase.IconColumnWidth
MenuBase.ShowDelay
MenuBase.HideDelay
MenuBase.ItemContainerTemplateSelector
MenuBase.ItemClick
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll

Syntax

[TelerikToolboxCategory("Navigation")]
public class RadMenu : MenuBase

Constructors

RadMenu()

Initializes a new instance of the RadMenu class.

Declaration
public RadMenu()

Fields

IsMainMenuProperty

Identifies the IsMainMenu dependency property.

Declaration
public static readonly DependencyProperty IsMainMenuProperty
Field Value
System.Windows.DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty

TopLevelHideDelayProperty

Identifies the TopLevelHideDelay dependency property.

Declaration
public static readonly DependencyProperty TopLevelHideDelayProperty
Field Value
System.Windows.DependencyProperty

TopLevelShowDelayProperty

Identifies the TopLevelShowDelay dependency property.

Declaration
public static readonly DependencyProperty TopLevelShowDelayProperty
Field Value
System.Windows.DependencyProperty

WaitForTopLevelHeaderHideDurationProperty

Identifies the WaitForTopLevelHeaderHideDuration dependency property.

Declaration
public static readonly DependencyProperty WaitForTopLevelHeaderHideDurationProperty
Field Value
System.Windows.DependencyProperty

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.Boolean

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.Windows.Controls.Orientation

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.Windows.Duration

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.Windows.Duration

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.Boolean

True if RadMenu waits until TopLevelHideDelay is completed; otherwise, false.

Methods

OnCreateAutomationPeer()

Provides an appropriate RadMenuAutomationPeer implementation for this control, as part of the WPF automation infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnKeyDown(KeyEventArgs)

Invoked when keyboard key is pressed while the element has focus.

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs e

The KeyEventArgs that contains the event data.

Overrides
MenuBase.OnKeyDown(KeyEventArgs)

PrepareContainerForItemOverride(DependencyObject, Object)

Prepares the specified element to display the specified item.

Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject element

Element used to display the specified item.

System.Object item

Specified item.

Overrides
MenuBase.PrepareContainerForItemOverride(DependencyObject, Object)

Events

PropertyChanged

Occurs when a property value changes.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.