Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawRowValueCellEventArgs.CellIndex Property

Gets the index of the painted row data cell.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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