WinFormsDataBindingHelper Class

 

Class to help ease common operations in Windows Forms databinding.

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

System::Object
  Microsoft.VisualStudio.Modeling.Design::WinFormsDataBindingHelper

[ExtensionAttribute]
public ref class WinFormsDataBindingHelper abstract sealed 

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticNullMagicValue

Magic value for a null choice in a bound list.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticInitializeComboBoxColumnDataSourcesFromBinding(DataGridView^)

Set up the combobox dropdown lists for the given grid.

System_CAPS_pubmethodSystem_CAPS_staticInitializeDataSourceFromBinding(ComboBox^)

Initialize the dropdown list for a ComboBox using the values of the enumeration it is bound to.

System_CAPS_pubmethodSystem_CAPS_staticInitializeDataSources(Control^)

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.

System_CAPS_pubmethodSystem_CAPS_staticPreInitializeComboBoxColumnDataSourcesFromBinding(DataGridView^)

Set up the cell type for combobox dropdown lists for the given grid.

System_CAPS_pubmethodSystem_CAPS_staticPreInitializeDataSources(Control^)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: