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.MainMenuBarBackColor Property

OBSOLETE

You should use the BarManagerProperties class

Gets or sets the default background color for main menus.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the BarManagerProperties class")]
public Color MainMenuBarBackColor { get; set; }

#Property Value

Type Description
Color

The default background color of main menus.

#Remarks

This property is obsolete. Use the BarAndDockingController’s BarManagerAppearances.MainMenu property to specify the default style settings for main menus. This property affects main menus belonging to the BarManagers which are bound to this BarAndDockingController.

For each bar, you can override the default style settings via the Bar.Appearance property.

See Also