Back to Devexpress

DiagramControl.MenuManager Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-d4e4b548.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public IDXMenuManager MenuManager { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Property MenuManager As IDXMenuManager

Property Value

TypeDefaultDescription
DevExpress.Utils.Menu.IDXMenuManagernull

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

|

Remarks

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

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace