Redigera

Dela via


BindingNavigator.BeginInit Method

Definition

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

public:
 virtual void BeginInit();
public void BeginInit ();
abstract member BeginInit : unit -> unit
override this.BeginInit : unit -> unit
Public Sub BeginInit ()

Implements

Remarks

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.

Applies to

See also