Skip to main content

ApplicationMenu Class

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

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