Gets or sets the image displayed within the painted row header cell.
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 RowProperties.ImageIndex property. This property can be used in the following ways:
- read the property value to paint the default image;
- change the ImageIndex property value and leave the CustomDrawEventArgs.Handled property set to false. This forces the control to paint the row header cell using the default mechanism but with another image.
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.