WinFormsDataBindingHelper.InitializeDataSources Method
Walk all of the controls in the container initializing the DataSource dropdown lists for any that are Databound to items where the values can be calculated.
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 InitializeDataSources ( _
container As Control _
)
public static void InitializeDataSources(
Control container
)
public:
static void InitializeDataSources(
Control^ container
)
static member InitializeDataSources :
container:Control -> unit
public static function InitializeDataSources(
container : Control
)
Parameters
- container
Type: System.Windows.Forms.Control
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.