ApplicationMenu Class
A MS Office 2007-inspired main menu for Ribbon UI.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v18.1.dll
Declaration
[ToolboxTabName("DX.18.1: Navigation & Layout")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ApplicationMenu")]
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:
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplicationMenu class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.