Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarManager.MainMenu Property

Gets or sets the main menu. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

[Browsable(false)]
public Bar MainMenu { get; set; }

#Property Value

Type Description
Bar

A Bar object that represents the main menu.

#Remarks

You can specify that a bar must be used as the main menu, by setting the MainMenu property or by setting the bar’s Bar.IsMainMenu property to true. See the Bar.IsMainMenu topic, to learn which features are specific to the main menu.

See Also