CustomDrawRowValueCellEventArgs.CellIndex Property
Gets the index of the painted row data cell.
Namespace: DevExpress.XtraVerticalGrid.Events
Assembly: DevExpress.XtraVerticalGrid.v19.1.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CellIndex property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.