NavBarGroup.BackgroundImage Property

Gets or sets the group's background image.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll

Declaration

[DefaultValue(null)]
public virtual Image BackgroundImage { get; set; }
<DefaultValue(Nothing)>
Public Overridable Property BackgroundImage As Image

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