BeginInit Method

BindingNavigator.BeginInit Method ()


Disables updates to the ToolStripItem controls of the BindingNavigator during the component's initialization.

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

public void BeginInit()

The BeginInit and EndInit methods allow the BindingNavigator control to optimize changes to multiple properties. Using this pair of methods, you can initialize co-dependent properties or batch set multiple properties at design time. Call the BeginInit method to signal the control that initialization is starting; call the EndInit method to signal that initialization is complete.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft