Skip to main content
Bar

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.v23.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