Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockManager.MenuManager Property

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
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 DockManager‘s popup menus.

#Remarks

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

Currently, the IDXMenuManager interface is implemented by the BarManager component.

If the MenuManager property is set to an instance of the BarManager component, you can provide different look and feel styles (Flat, Styles3D, OfficeXP, Office2003 etc) 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 the BarManager.Controller property).

See Also