Back to Devexpress

CardCaptionImageEventArgs.ImageIndex Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardcaptionimageeventargs-4ccf8631.md

latest1.9 KB
Original Source

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

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

Declaration

csharp
public int ImageIndex { get; set; }
vb
Public Property ImageIndex As Integer

Property Value

TypeDescription
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

ImageList

Image

CardCaptionImageEventArgs Class

CardCaptionImageEventArgs Members

DevExpress.XtraGrid.Views.Card Namespace