Back to Devexpress

CustomDrawRowHeaderCellEventArgs.CellIndex Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-events-dot-customdrawrowheadercelleventargs-5165f2e0.md

latest2.0 KB
Original Source

CustomDrawRowHeaderCellEventArgs.CellIndex Property

Gets the index of the painted row header cell.

Namespace : DevExpress.XtraVerticalGrid.Events

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public int CellIndex { get; }
vb
Public ReadOnly Property CellIndex As Integer

Property Value

TypeDescription
Int32

An integer value representing the painted row header 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 obtain the painted row header cell’s index. It can be useful for instance, when custom painting cells with the specific index only.

See Also

CellIndex

CustomDrawRowHeaderCell

CustomDrawRowHeaderCellEventArgs Class

CustomDrawRowHeaderCellEventArgs Members

DevExpress.XtraVerticalGrid.Events Namespace