DocumentManager.MenuManager Property
Gets or sets an object that controls the look and feel of the DocumentManager‘s popup menus.
Namespace: DevExpress.XtraBars.Docking2010
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[DefaultValue(null)]
[DXCategory("BarManager")]
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 DocumentManager‘s popup menus. |
Remarks
The MenuManager property allows you to specify an IDXMenuManager object to control the look and feel of the DocumentManager‘s popup menus. If the property is set to null, the DocumentManager‘s popup menus will be painted by the DocumentManager 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 for popup menus. In this case, look and feel settings are controlled by the BarAndDockingController.LookAndFeel property of the BarAndDockingController used by the BarManager.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MenuManager property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.