WinFormsDataBindingHelper Class
Class to help ease common operations in Windows Forms databinding.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Design.WinFormsDataBindingHelper
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class WinFormsDataBindingHelper
public static class WinFormsDataBindingHelper
[ExtensionAttribute]
public ref class WinFormsDataBindingHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type WinFormsDataBindingHelper = class end
public final class WinFormsDataBindingHelper
The WinFormsDataBindingHelper type exposes the following members.
Properties
Name | Description | |
---|---|---|
NullMagicValue | Magic value for a null choice in a bound list. |
Top
Methods
Name | Description | |
---|---|---|
InitializeComboBoxColumnDataSourcesFromBinding | Set up the combobox dropdown lists for the given grid. | |
InitializeDataSourceFromBinding | Initialize the dropdown list for a ComboBox using the values of the enumeration it is bound to. | |
InitializeDataSources | 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. | |
PreInitializeComboBoxColumnDataSourcesFromBinding | Set up the cell type for combobox dropdown lists for the given grid. | |
PreInitializeDataSources | 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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.