DataGridViewCellPaintingEventArgs::RowIndex Property
.NET Framework (current version)
Gets the row index of the current DataGridViewCell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The RowIndex property returns -1 when a column header is being painted.
.NET Framework
Available since 2.0
Available since 2.0
Show: