System.Windows.Forms.DataGridColumnStyle.EndUpdate Method

Resumes the painting of columns suspended by calling the DataGridColumnStyle.BeginUpdate method.

Syntax

protected void EndUpdate ()

Remarks

When many changes are made to the appearance of a System.Windows.Forms.DataGrid control (whether the changes are in the attributes of the column or the data displayed by the control), you should invoke the DataGridColumnStyle.BeginUpdate method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the DataGridColumnStyle.EndUpdate method to resume drawing of the control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0