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