Skip to main content

NavBarGroup.BackgroundImage Property

Gets or sets the group’s background image.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
public virtual Image BackgroundImage { get; set; }

Property Value

Type Default Description
Image null

A System.Drawing.Image descendant representing the group’s background image.

Remarks

To specify a background image for all groups, use the NavBarControl.GroupBackgroundImage property. The BackgroundImage property allows you to specify a background image for individual groups. The BackgroundImage property has a higher priority.

Groups must have transparent background colors in order to make their background images visible. To specify a transparent background color for a group, use the control’s Appearance.GroupBackGround.BackColor or the group’s AppearanceBackground.BackColor property.

Note

Background images are not supported in skinning paint schemes. Use the NavBarControl.LookAndFeel property to specify a paint scheme.

See Also