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

SpreadsheetControl.MenuManager Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v19.1.dll

Declaration

[DXCategory("AssociatedComponents")]
[DefaultValue(null)]
public IDXMenuManager MenuManager { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Menu.IDXMenuManager *null*

An object that 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 SpreadsheetControl‘s context menus will be painted by the SpreadsheetControl itself.

The IDXMenuManager interface is implemented by the BarManager control which is a 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 (Flat, Style3D, OfficeXP, Office2003, Skin) for context menus. Look and feel settings are controlled in this instance by the BarAndDockingController which is associated with the bar manager.

See Also