Share via


WinFormsDataBindingHelper.PreInitializeDataSources(Control) Method

Definition

Walk all of the controls in the container pre-initializing the DataSource dropdown lists for any that are Databound to items where the values can be calculated. Must be called before the root item is DataBound to live data.

public:
 static void PreInitializeDataSources(System::Windows::Forms::Control ^ container);
public static void PreInitializeDataSources (System.Windows.Forms.Control container);
static member PreInitializeDataSources : System.Windows.Forms.Control -> unit
Public Sub PreInitializeDataSources (container As Control)

Parameters

container
Control

Applies to