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.
The Images property accepts the following image collections:
- ImageCollection - Supports image transparency.
- SharedImageCollection - Supports image transparency. Allows you to share images between controls within multiple forms.
- SvgImageCollection - Stores vector icons that can scale without losing their quality on high resolution devices.
- ImageList.