Skip to main content
A newer version of this page is available. .

NavBarControl.MenuManager Property

Gets or sets an object that controls the look and feel of the control’s popup menus.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll

Declaration

[DefaultValue(null)]
public IDXMenuManager MenuManager { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Menu.IDXMenuManager *null*

An object that controls the look and feel of the control’s popup menus.

Remarks

The MenuManager property allows you to specify the IDXMenuManager object, used to control the look and feel of popup menus. If this property is set to null, the editor’s popup menus will be painted by the editor itself. Otherwise, the IDXMenuManager object will be responsible for painting the menus.

Currently, the IDXMenuManager interface is implemented by the BarManager component, which is part of the DevExpress Ribbon, Menu and Docking Library.

If the MenuManager property is set to an instance of the BarManager component, you can provide different look and feels (Flat, Styles3D, OfficeXP, Office2003 etc) for popup menus. In this case, Look and Feel settings are controlled by the BarAndDockingController.LookAndFeel and BarAndDockingController.PaintStyleName properties of the bar and docking controller used by the bar manager.

The following images show a menu painted using various schemes invoked by the associated bar manager:

UltraFlat

PictureEdit_Menu_UltraFlat

WindowsXP

PictureEdit_Menu_WindowsXP

Office2000

PictureEdit_Menu_Office2000

Office2003

PictureEdit_Menu_Office2003

See Also