Back to Devexpress

NavBarGroup.BackgroundImage Property

windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-701aeefc.md

latest2.0 KB
Original Source

NavBarGroup.BackgroundImage Property

Gets or sets the group’s background image.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

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

Property Value

TypeDefaultDescription
Imagenull

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

GroupBackgroundImage

NavBarGroup Class

NavBarGroup Members

DevExpress.XtraNavBar Namespace