Rediger

Del via


DataGridView.InvalidateColumn(Int32) Method

Definition

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

public:
 void InvalidateColumn(int columnIndex);
public void InvalidateColumn (int columnIndex);
member this.InvalidateColumn : int -> unit
Public Sub InvalidateColumn (columnIndex As Integer)

Parameters

columnIndex
Int32

The index of the column to invalidate.

Exceptions

columnIndex is not in the valid range of 0 to the number of columns minus 1.

Remarks

For more information about painting and invalidation, see Invalidate.

Applies to

See also