Back to Devexpress

DashboardDesigner.MenuManager Property

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-f5947bfd.md

latest3.5 KB
Original Source

DashboardDesigner.MenuManager Property

Gets or sets the menu manager that controls the look and feel of the DashboardDesigner menus.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Menu.IDXMenuManagernull

An object which implements the DevExpress.Utils.Menu.IDXMenuManager interface.

|

Remarks

The IDXMenuManager interface is implemented by the BarManager component or the RibbonControl control, which is a part of the XtraBars suite. The XtraBars suite is a separate library which provides components for implementing menus, toolbars and the docking functionality. To learn more, see the Ribbon, Bars and Menu.

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.

winforms-dashboard-custom-properties/CS/WinForms-Dashboard-Custom-Properties/Modules/ChartScaleBreakModule.cs#L19

csharp
this.designer = designer;
RibbonControl ribbon = (RibbonControl)designer.MenuManager;
RibbonPage page = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design);

winforms-dashboard-custom-properties/VB/WinForms-Dashboard-Custom-Properties/Modules/ChartScaleBreakModule.vb#L19

vb
Me.designer = designer
Dim ribbon As RibbonControl = CType(designer.MenuManager, RibbonControl)
Dim page As RibbonPage = ribbon.GetDashboardRibbonPage(DashboardBarItemCategory.ChartTools, DashboardRibbonPage.Design)

See Also

UI Elements and Customization

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace