System.Windows.Forms.DataGrid.BeginInit Method

Begins 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 BeginInit ()

Remarks

The Visual Studio design environment uses this method to start the initialization of a component that is used on a form or used by another component. The DataGrid.EndInit method ends 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