WinFormsDataBindingHelper Class
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.
Class to help ease common operations in WinForms databinding.
public ref class WinFormsDataBindingHelper abstract sealed
public static class WinFormsDataBindingHelper
type WinFormsDataBindingHelper = class
Public Module WinFormsDataBindingHelper
- Inheritance
-
WinFormsDataBindingHelper
Properties
NullMagicValue |
Magic value for a null choice in a bound list. |
Methods
InitializeComboBoxColumnDataSourcesFromBinding(DataGridView) |
Set up the combobox dropdown lists for the given grid. |
InitializeDataSourceFromBinding(ComboBox) |
Initialize the dropdown list for a ComboBox using the values of the enumeration it is bound to. |
InitializeDataSources(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. |
PreInitializeComboBoxColumnDataSourcesFromBinding(DataGridView) |
Set up the cell type for combobox dropdown lists for the given grid. |
PreInitializeDataSources(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. |