Back to Devexpress

BarManager.MainMenuBarBackColor Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-d9988d7d.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the BarManagerProperties class")]
public Color MainMenuBarBackColor { get; set; }
vb
<Obsolete("You should use the BarManagerProperties class")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property MainMenuBarBackColor As Color

Property Value

TypeDescription
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

BarManager.MainMenu

BarManagerAppearances.MainMenu

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace