Skip to main content

CardCaptionImageEventArgs.ImageIndex Property

Gets or sets the index of the image to be displayed within a visual element.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public int ImageIndex { get; set; }

Property Value

Type Description

A zero-based integer specifying the image by its index within the source collection. -1, if no image is assigned to a visual element from the source collection.


By default, the image collection used is specified by the View’s ColumnView.Images property. You can also specify a custom list of images using the CardCaptionImageEventArgs.ImageList property.

See Also