Skip to main content
Bar

BarCustomContainerItem.BackColor Property

OBSOLETE

You should use the 'MenuAppearance'

Gets or sets the background color of items contained within a BarCustomContainerItem descendant.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'MenuAppearance'")]
public Color BackColor { get; set; }

Property Value

Type Description
Color

The background color of items contained within a BarCustomContainerItem descendant.

Remarks

Manipulate the BarCustomContainerItem.BackgroundImage and BarCustomContainerItem.BackColor properties of the BarSubItem class to specify background images and color of popup menus. Note that the look & feel of any popup menu can be customized regardless of its level. The image below displays an example of such customization.

BarsPopupBackground1 BarsPopupBackground2 BarsPopupBackground3

See Also