ControlBinder Methods |
The ControlBinder type exposes the following members.
Name | Description | |
---|---|---|
ChangeModelObject |
Changes the model object.
| |
CopyControlToModel |
Refreshes the model's content with the content of the control.
| |
CopyModelToControl |
Refreshes the control's content with the content of the model.
| |
Dispose |
See interface docs.
| |
Dispose(Boolean) |
Finalises or disposes of the object.
| |
DoCopyControlToModel |
Does the actual work of copying the value from the control to the model.
| |
DoCopyModelToControl |
Does the actual work of copying the value from the model to the control.
| |
DoHookControl |
Performs the actual work of hooking the control. Can be overridden.
| |
DoHookControlPropertyChanged |
Overridden to hook the control event that is raised as soon as the user changes the control's value.
| |
DoHookModel |
Performs the actual work of hooking the model. Can be overridden.
| |
DoInitialiseControl |
Does the work of initialising the control. By default this just calls CopyModelToControl.
| |
DoInitialising |
Called before any initialisation is performed, specifically before anything is hooked.
Can be overridden to perform setup that must be in place before any event handlers can
be called.
| |
DoUnhookControl |
Performs the actual work of unhooking the control. Can be overridden.
| |
DoUnhookControlPropertyChanged |
Overridden to unhook the control event that is raised as soon as the user changes the control's value.
| |
DoUnhookModel |
Performs the actual work of unhooking the model. Can be overridden.
| |
Equals | (Inherited from Object.) | |
Finalize |
Finalises the object.
(Overrides ObjectFinalize.) | |
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.
| |
HookModel |
Hooks the events on the model.
| |
Initialise |
Initialises the binder. Must be called before the binder will start working.
| |
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.
| |
UnhookModel |
Unhooks the events on the model.
|