Back to Devexpress

BaseEdit.MenuManager Property

windowsforms-devexpress-dot-xtraeditors-dot-baseedit-3be3d90c.md

latest2.9 KB
Original Source

BaseEdit.MenuManager Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Menu.IDXMenuManagernull

An object that controls the look and feel of the popup menus.

|

Remarks

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

Currently, the IDXMenuManager interface is implemented by the BarManager component 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.

The following images show a PictureEdit control’s menus painted using various schemes imposed by the associated bar manager:

|

Skin (DevExpress Style)

|

| |

UltraFlat

|

| |

WindowsXP

|

| |

Office2000

|

| |

Office2003

|

|

See Also

BaseEdit Class

BaseEdit Members

DevExpress.XtraEditors Namespace