windowsforms-devexpress-dot-xtraverticalgrid-dot-events-dot-customdrawrowheadercelleventargs-56506b76.md
Gets or sets the image displayed within the painted row header cell.
Namespace : DevExpress.XtraVerticalGrid.Events
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
public int ImageIndex { get; set; }
Public Property ImageIndex As Integer
| Type | Description |
|---|---|
| Int32 |
A zero-based integer specifying the image displayed within the painted row header cell, -1 if no image is displayed.
|
Initially, the ImageIndex property contains the zero-based index of the image specified by the ImageIndex option accessible in RowProperties.ImageOptions. This property can be used in the following ways:
The source of images is specified by the vertical grid’s VGridControlBase.ImageList property. The bounding rectangle of the row header cell image can be obtained via the CustomDrawRowHeaderCellEventArgs.ImageRect property.
See Also
CustomDrawRowHeaderCellEventArgs Class