System.Windows.Forms.DataGrid.EndInit Method

Ends the initialization of a System.Windows.Forms.DataGrid that is used on a form or used by another component. The initialization occurs at run time.

Syntax

public void EndInit ()

Remarks

The Visual Studio design environment uses this method to end the initialization of a component that is used on a form or used by another component. The DataGrid.BeginInit method starts the initialization. Using the DataGrid.BeginInit and DataGrid.EndInit methods prevents the control from being used before it is fully initialized.

Requirements

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