Skip to main content

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

Bar.IsMainMenu Property

Gets a value indicating whether the Bar is the application’s main menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public bool IsMainMenu { get; }

#Property Value

Type Description
Boolean

true, if the Bar is the application’s main menu; otherwise false.

#Remarks

To use a bar as a main menu, assign it to the BarManager.MainMenu property.

See Also