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.v21.2.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 a BarManager object, you can provide different look and feel styles for popup menus. In this case, look and feel settings are controlled by the BarAndDockingController.LookAndFeel property of the BarAndDockingController used by the BarManager.

See Also