Back to Devexpress

BarManager.SubMenuBackColor Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-124c046c.md

latest2.3 KB
Original Source

BarManager.SubMenuBackColor Property

OBSOLETE

You should use the BarManagerProperties class

Gets or sets the default background color for all submenus within the BarManager component.

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 SubMenuBackColor { get; set; }
vb
<Obsolete("You should use the BarManagerProperties class")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property SubMenuBackColor As Color

Property Value

TypeDescription
Color

The default background color for all submenus within the BarManager component.

|

Remarks

This property is obsolete. Use the MenuAppearance.Menu property of a BarAndDockingController’s BarManagerAppearances.SubMenu object to specify default style settings for subitems within menus. This property affects submenus belonging to the BarManagers which are bound to this BarAndDockingController.

It is also possible to override the default style settings for particular menus. For this purpose, use BarCustomContainerItem.MenuAppearance and PopupMenu.MenuAppearance properties for container items and popup menus respectively.

See Also

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace