Back to Devexpress

GridBand.Image Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-cf4d9442.md

latest2.1 KB
Original Source

GridBand.Image Property

Use the GridBand.ImageOptions property to specify the image displayed within a Band Header.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image Image { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property Image As Image

Property Value

TypeDefaultDescription
Imagenull

An image displayed within the band header.

|

Remarks

It’s also possible to assign an image to a band header using he ImageIndex options accessible in GridBand.ImageOptions.

The image below shows examples of band header and column header images.

See Also

ImageOptions

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace