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

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

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

#Declaration

public int ImageIndex { get; set; }

#Property Value

Type Description
Int32

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.

#Remarks

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