WinFormsDataBindingHelper.PreInitializeDataSources(Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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