Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGridView::InvalidateColumn Method (Int32)

 

Invalidates the specified column of the DataGridView, forcing it to be repainted.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void InvalidateColumn(
	int columnIndex
)

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
Return to top
Show:
© 2017 Microsoft