Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ApplicationMenu Class

A MS Office 2007-inspired main menu for Ribbon UI.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class ApplicationMenu :
    PopupMenu,
    IDXDropDownControlEx,
    IDXDropDownControl

#Remarks

This ApplicationMenu provides two vertical panes. The left pane displays menu items that are specified by the PopupMenuBase.ItemLinks collection. If a submenu within the left pane is hovered over, it’s automatically expanded and displayed over the right pane:

ApplicationMenu

The right pane allows you to display any controls within it. To do this, create and customize a PopupControlContainer control and assign it to the ApplicationMenu.RightPaneControlContainer property. The ApplicationMenu.ShowRightPane property must be set to true to display the right pane.

The appearance of menu items is specified by the PopupMenuBase.MenuDrawMode property. This property specifies whether items are displayed using small or large images and with or without descriptions.

To use an ApplicationMenu object as a menu for the Ribbon UI, assign this object to the RibbonControl.ApplicationButtonDropDownControl property.

#Implements

See Also