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

DiagramControl.MenuManager Property

Gets or sets the menu manager which controls the look and feel of the context menus.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll


public IDXMenuManager MenuManager { get; set; }

Property Value

Type Default Description


An object which implements the DevExpress.Utils.Menu.IDXMenuManager interface.


Objects that implement the DevExpress.Utils.Menu.IDXMenuManager interface allow you to control the look and feel of context menus. If the MenuManager property is set to null (Nothing in Visual Basic), the diagram’s context menus will be painted by the Diagram Control itself.

Currently, the IDXMenuManager interface is implemented by the BarManager control 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 feel styles (Skin, Flat, Style3D, 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 BarAndDockingController used by the BarManager.

See Also