Back to Devexpress

BarCustomContainerItem.BackgroundImage Property

windowsforms-devexpress-dot-xtrabars-dot-barcustomcontaineritem-a6937ef7.md

latest2.3 KB
Original Source

BarCustomContainerItem.BackgroundImage Property

OBSOLETE

You should use the 'MenuAppearance'

Gets or sets the background image 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 Image BackgroundImage { get; set; }
vb
<Obsolete("You should use the 'MenuAppearance'")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property BackgroundImage As Image

Property Value

TypeDescription
Image

The background image 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

BackColor

BarCustomContainerItem Class

BarCustomContainerItem Members

DevExpress.XtraBars Namespace