Visually, the menu is divided into two panels:
The main menu (left panel).
The extra pane that contains a list of shortcuts, such as recently used files.
Main Menu Customization
To build a new menu, do the following:
1. Make certain that the bar manager component is on a form, and the required menu items are defined. For details, see the Customization Form topic.
2. Drop the Ribbon Application Menu control from the Component Palette's ExpressBars page onto the form. The bar manager will be automatically linked to the menu's BarManager property.
3. In the Object Inspector, click the ellipsis button next to the menu's ItemLinks property to invoke the Customization Form and the menu designer. Drag menu items from the Customization Form into the menu designer.
4. Select the Ribbon control and bind the newly created menu to the Ribbon Application Button via the Ribbon's ApplicationButton.Menu property.
Extra Pane Customization
The list in the menu's right panel is populated via the menu's ExtraPane.Items property. To inform end-users about this list's purpose, provide it with a header using the menu's ExtraPane.Header property.
To respond to list item clicks,
handle the menu's ExtraPane.OnItemClick event.
Related Information
Ribbon Control
Ribbon Quick
Access Toolbar
Ribbon Status Bar
Ribbon Tab
Ribbon Tab Group
Ribbon User Interface
TdxBarApplicationMenu Object
TdxBarApplicationMenuExtraPane Object
Copyright © 1998-2010 Developer Express Inc. ALL RIGHTS RESERVED