| ComboBoxValueBinderTModel, TValue Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: VirtualRadar.WinForms.PortableBinding
 Syntax
Syntaxpublic class ComboBoxValueBinder<TModel, TValue> : ComboBoxBinder<TModel, TValue, TValue> where TModel : class, INotifyPropertyChanged
The ComboBoxValueBinderTModel, TValue type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ComboBoxValueBinderTModel, TValue | 
            Creates a new object.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Control | 
            Gets the control.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | ControlObject | 
            Gets the control that has been bound to the model.
            (Inherited from ControlBinder.) | 
|  | ControlValue | 
            Gets the control's value.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | ControlValueObject | 
            See base docs.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | GetListItemDescription | 
            Gets or sets a method that returns a list item's description. Cannot be set after initialisation.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | GetListItemValue | 
            Gets or sets a method that returns the list item's value. Cannot be set after initialisation.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | Initialised | 
            Gets a value indicating that the object has been initialised.
            (Inherited from ControlBinder.) | 
|  | ItemDescriptions | 
            The list of descriptions that we're going to use for the list.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | List | 
            Gets the list.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | Model | 
            Gets the model.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | ModelObject | 
            Gets the model that has been bound to the control.
            (Inherited from ControlBinder.) | 
|  | ModelPropertyName | 
            Gets or sets the name of the model's property to bind to.
            Only required if the ctor getModelValue parameter does more than just return a property.
            Cannot be set once the binder has been initialised.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | ModelValue | 
            Gets the model's value.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | ModelValueObject | 
            See base docs.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | SortList | 
            Gets or sets a value indicating that the list should be sorted.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | UpdateMode | 
            Gets or sets an indication of when values are copied from the control to the model.
            Cannot be modified once the binder has been initialised.
            (Inherited from ControlBinder.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ChangeModelObject | 
            Changes the model object.
            (Inherited from ControlBinder.) | 
|  | CopyControlToModel | 
            Refreshes the model's content with the content of the control.
            (Inherited from ControlBinder.) | 
|  | CopyListToControl | 
            Copies the list to the control.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | CopyModelToControl | 
            Refreshes the control's content with the content of the model.
            (Inherited from ControlBinder.) | 
|  | Dispose | 
            See interface docs.
            (Inherited from ControlBinder.) | 
|  | Dispose(Boolean) | 
            See base docs.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | DoCopyControlToModel | 
            See base docs.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | DoCopyListToControl | 
            See base docs.
            (Inherited from ComboBoxBinderTModel, TListModel, TValue.) | 
|  | DoCopyModelToControl | 
            See base docs.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | DoGetSelectedListValue | 
            See base docs.
            (Inherited from ComboBoxBinderTModel, TListModel, TValue.) | 
|  | DoHookControl | 
            Performs the actual work of hooking the control. Can be overridden.
            (Inherited from ControlBinder.) | 
|  | DoHookControlPropertyChanged | 
            See base docs.
            (Inherited from ComboBoxBinderTModel, TListModel, TValue.) | 
|  | DoHookModel | 
            See base docs.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | DoInitialiseControl | 
            Does the work of initialising the control. By default this just calls CopyModelToControl.
            (Inherited from ControlBinder.) | 
|  | DoInitialising | 
            See base docs.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | DoSetSelectedListValue | 
            See base docs.
            (Inherited from ComboBoxBinderTModel, TListModel, TValue.) | 
|  | DoUnhookControl | 
            Performs the actual work of unhooking the control. Can be overridden.
            (Inherited from ControlBinder.) | 
|  | DoUnhookControlPropertyChanged | 
            See base docs.
            (Inherited from ComboBoxBinderTModel, TListModel, TValue.) | 
|  | DoUnhookModel | 
            See base docs.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | 
            Finalises the object.
            (Inherited from ControlBinder.) | 
|  | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetSelectedListValue | 
            Gets the value for the selected item from the list.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | HookControl | 
            Hooks the events on the control.
            (Inherited from ControlBinder.) | 
|  | HookModel | 
            Hooks the events on the model.
            (Inherited from ControlBinder.) | 
|  | Initialise | 
            Initialises the binder. Must be called before the binder will start working.
            (Inherited from ControlBinder.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | SetSelectedListValue | 
            Sets the value for the selected item in the list.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | UnhookControl | 
            Unhooks the events on the control.
            (Inherited from ControlBinder.) | 
|  | UnhookModel | 
            Unhooks the events on the model.
            (Inherited from ControlBinder.) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | _GetControlValue | 
            Protected method that reads a control's current value.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | _ListUpdatesLocked | 
            True if copies between lists are locked.
            (Inherited from ValueFromListBinderTModel, TControl, TValue, TListModel.) | 
|  | _SetControlValue | 
            Protected method that writes a control's current value.
            (Inherited from ValueBinderTModel, TControl, TValue.) | 
|  | _UpdatesLocked | 
            True if changes are not to be copied between the control and the model.
            (Inherited from ControlBinder.) | 
 See Also
See Also