Partilhar via


WinFormsDataBindingHelper.PreInitializeDataSources Method

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.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Shared Sub PreInitializeDataSources ( _
    container As Control _
)
public static void PreInitializeDataSources(
    Control container
)
public:
static void PreInitializeDataSources(
    Control^ container
)
static member PreInitializeDataSources : 
        container:Control -> unit 
public static function PreInitializeDataSources(
    container : Control
)

Parameters

.NET Framework Security

See Also

Reference

WinFormsDataBindingHelper Class

Microsoft.VisualStudio.Modeling.Design Namespace