Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

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

#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 GridColumn.ImageOptions.ImageIndex and GridBand.ImageOptions.ImageIndex properties to associate specific images with columns and bands. These properties refer to images in the image collection by their indexes.

GridColumn.ImageOptions.ImageAlignment and GridBand.ImageOptions.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