Skip to main content

SpreadsheetControl.MenuManager Property

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("AssociatedComponents")]
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