Skip to main content

CustomDrawRowValueCellEventArgs.CellIndex Property

Gets the index of the painted row data cell.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

Declaration

public int CellIndex { get; }

Property Value

Type Description
Int32

A zero-based integer representing the painted cell’s index.

Remarks

Rows (represented by the MultiEditorRow class) are capable of displaying several header cells and thus several cells within each record. Use the CellIndex property when it is necessary to identify which cell within the processed record is going to be painted. It can be useful for instance, when custom paint cells located at a specific position.

If it is necessary to obtain the record where the painted cell resides, use the CustomDrawRowValueCellEventArgs.RecordIndex property.

See Also