DataGridView::InvalidateColumn Method (Int32)
.NET Framework (current version)
Invalidates the specified column of the DataGridView, forcing it to be repainted.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- columnIndex
-
Type:
System::Int32
The index of the column to invalidate.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | columnIndex is not in the valid range of 0 to the number of columns minus 1. |
For more information about painting and invalidation, see Invalidate.
.NET Framework
Available since 2.0
Available since 2.0
Show: