| ValueBinderTModel, TControl, TValue Class | 
Namespace: VirtualRadar.WinForms.PortableBinding
public abstract class ValueBinder<TModel, TControl, TValue> : ControlBinder where TModel : class, INotifyPropertyChanged where TControl : Control
The ValueBinderTModel, TControl, TValue type exposes the following members.
| Name | Description | |
|---|---|---|
| Control | 
            Gets the control.
              | |
| ControlObject | 
            Gets the control that has been bound to the model.
              (Inherited from ControlBinder.) | |
| ControlValue | 
            Gets the control's value.
              | |
| ControlValueObject | 
            See base docs.
              (Overrides ControlBinderControlValueObject.) | |
| Initialised | 
            Gets a value indicating that the object has been initialised.
              (Inherited from ControlBinder.) | |
| Model | 
            Gets the model.
              | |
| 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.
              | |
| ModelValue | 
            Gets the model's value.
              | |
| ModelValueObject | 
            See base docs.
              (Overrides ControlBinderModelValueObject.) | |
| 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.) | 
| 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.) | |
| CopyModelToControl | 
            Refreshes the control's content with the content of the model.
              (Inherited from ControlBinder.) | |
| Dispose | 
            See interface docs.
              (Inherited from ControlBinder.) | |
| Dispose(Boolean) | 
            Finalises or disposes of the object.
              (Inherited from ControlBinder.) | |
| DoCopyControlToModel | 
            Does the actual work of copying the value from the control to the model.
              (Inherited from ControlBinder.) | |
| DoCopyModelToControl | 
            Does the actual work of copying the value from the model to the control.
              (Inherited from ControlBinder.) | |
| DoHookControl | 
            Performs the actual work of hooking the control. Can be overridden.
              (Inherited from ControlBinder.) | |
| DoHookControlPropertyChanged | 
            Overridden to hook the control event that is raised as soon as the user changes the control's value.
              (Inherited from ControlBinder.) | |
| DoHookModel | 
            See base docs.
              (Overrides ControlBinderDoHookModel.) | |
| DoInitialiseControl | 
            Does the work of initialising the control. By default this just calls CopyModelToControl.
              (Inherited from ControlBinder.) | |
| DoInitialising | 
            See base docs.
              (Overrides ControlBinderDoInitialising.) | |
| DoUnhookControl | 
            Performs the actual work of unhooking the control. Can be overridden.
              (Inherited from ControlBinder.) | |
| DoUnhookControlPropertyChanged | 
            Overridden to unhook the control event that is raised as soon as the user changes the control's value.
              (Inherited from ControlBinder.) | |
| DoUnhookModel | 
            See base docs.
              (Overrides ControlBinderDoUnhookModel.) | |
| Equals | (Inherited from Object.) | |
| Finalize | 
            Finalises the object.
              (Inherited from ControlBinder.) | |
| GetHashCode | Serves as a hash function for a particular type.   (Inherited from Object.) | |
| 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.) | |
| 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.) | 
| Name | Description | |
|---|---|---|
| _GetControlValue | 
            Protected method that reads a control's current value.
              | |
| _SetControlValue | 
            Protected method that writes a control's current value.
              | |
| _UpdatesLocked | 
            True if changes are not to be copied between the control and the model.
              (Inherited from ControlBinder.) |