Skip to main content
A newer version of this page is available. .

ColumnView.Images Property

Gets or sets a collection of images that can be displayed within column headers and band headers.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object Images { get; set; }

Property Value

Type Default Description
Object *null*

An object that is an image collection providing images for the View’s elements.

Remarks

To display images within column or band headers, first assign an image collection to the Images property. Then, use the GridColumn.ImageIndex and GridBand.ImageIndex properties to associate specific images with columns and bands. These properties refer to images in the image collection by their indexes. The GridColumn.ImageAlignment and GridBand.ImageAlignment properties enable the glyph’s alignment within headers to be controlled.

The following screenshot is an example of displaying images within column and band headers.

ColumnHeader_Images

The Images property accepts the following image collections:

See Also