LabelStringBinderTModel Class |
Namespace: VirtualRadar.WinForms.PortableBinding
public class LabelStringBinder<TModel> : ValueBinder<TModel, Label, string> where TModel : class, INotifyPropertyChanged
The LabelStringBinderTModel type exposes the following members.
Name | Description | |
---|---|---|
LabelStringBinderTModel |
Creates a new object.
|
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.) | |
Initialised |
Gets a value indicating that the object has been initialised.
(Inherited from ControlBinder.) | |
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.) | |
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 |
See base docs.
(Overrides ControlBinderDoHookControlPropertyChanged(EventHandler).) | |
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 ValueBinderTModel, TControl, TValue.) | |
DoUnhookControl |
Performs the actual work of unhooking the control. Can be overridden.
(Inherited from ControlBinder.) | |
DoUnhookControlPropertyChanged |
See base docs.
(Overrides ControlBinderDoUnhookControlPropertyChanged(EventHandler).) | |
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.) | |
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.
(Inherited from ValueBinderTModel, TControl, TValue.) | |
_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.) |