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

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

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

BarsPopupBackground1 BarsPopupBackground2 BarsPopupBackground3

See Also