Back to Devexpress

BarCustomContainerItem.BackColor Property

windowsforms-devexpress-dot-xtrabars-dot-barcustomcontaineritem-96971cd3.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

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

See Also

BackgroundImage

BarCustomContainerItem Class

BarCustomContainerItem Members

DevExpress.XtraBars Namespace