| MasterListToListBinderTModel, TListModel Class |
Namespace: VirtualRadar.WinForms.PortableBinding
public class MasterListToListBinder<TModel, TListModel> : ControlBinder where TListModel : class
The MasterListToListBinderTModel, TListModel type exposes the following members.
| Name | Description | |
|---|---|---|
| MasterListToListBinderTModel, TListModel |
Creates a new object.
|
| Name | Description | |
|---|---|---|
| AddHandler |
Gets or sets the method that handles the adding of new items. Can only be set before initialisation.
| |
| AutoAddEnabled |
Gets or sets a value indicating that if AddHandler is null then an automatic add handler should be used.
| |
| AutoDeleteEnabled |
Gets or sets a value indicating that if DeleteHandler is null then an automatic delete handler should be used.
| |
| CheckedChangedHandler |
Gets or sets the method that handles the change in checked state for an existing item. Can only be set before initialisation.
| |
| Control |
Gets the control that is showing the list.
| |
| ControlObject |
Gets the control that has been bound to the model.
(Inherited from ControlBinder.) | |
| ControlValueObject |
See base docs.
(Overrides ControlBinderControlValueObject.) | |
| DeleteHandler |
Gets or sets the method that handles the removal of existing items. Can only be set before initialisation.
| |
| EditHandler |
Gets or sets the method that handles the editing of an existing item. Can only be set before initialisation.
| |
| EnableSorting |
Gets or sets a value indicating that the rows are to be sorted on display. Can only be set before initialisation.
| |
| FetchColumns |
Gets or sets the method that handles the fetching of columns. Can only be set before initialisation.
| |
| GetSortValue |
Gets or sets a delegate that returns a comparable value from the list model for a single column.
| |
| Initialised |
Gets a value indicating that the object has been initialised.
(Inherited from ControlBinder.) | |
| Model |
Gets the model that owns the list.
| |
| ModelList |
Gets the list held by the model.
| |
| ModelListBindingList |
Gets the ModelList as an IBindingList.
| |
| ModelObject |
Gets the model that has been bound to the control.
(Inherited from ControlBinder.) | |
| 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 | |
|---|---|---|
| AddListModel |
Calls the add handler, returns the list model that it creates.
| |
| 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.) | |
| DeleteListModel |
Calls the delete handler with the list model passed across.
| |
| Dispose |
See interface docs.
(Inherited from ControlBinder.) | |
| Dispose(Boolean) |
See base docs.
(Overrides ControlBinderDispose(Boolean).) | |
| DoCopyControlToModel |
See base docs.
(Overrides ControlBinderDoCopyControlToModel.) | |
| DoCopyModelToControl |
See base docs.
(Overrides ControlBinderDoCopyModelToControl.) | |
| DoHookControl |
Performs the actual work of hooking the control. Can be overridden.
(Inherited from ControlBinder.) | |
| DoHookControlPropertyChanged |
See base docs.
(Overrides ControlBinderDoHookControlPropertyChanged(EventHandler).) | |
| DoHookModel |
Performs the actual work of hooking the model. Can be overridden.
(Inherited from ControlBinder.) | |
| 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 |
See base docs.
(Overrides ControlBinderDoUnhookControlPropertyChanged(EventHandler).) | |
| DoUnhookModel |
Performs the actual work of unhooking the model. Can be overridden.
(Inherited from ControlBinder.) | |
| EditListModel |
Calls the edit handler with the list model passed across.
| |
| 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 | |
|---|---|---|
| _CheckedChangedHandler |
Protected method that is handles changing the checked state for an item.
| |
| _FetchColumns |
Protected method that fetches the content of the list, split into columns.
| |
| _UpdatesLocked |
True if changes are not to be copied between the control and the model.
(Inherited from ControlBinder.) |