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

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
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