MasterListToListBinderTModel, TListModelAddHandler Property |
Gets or sets the method that handles the adding of new items. Can only be set before initialisation.
Namespace: VirtualRadar.WinForms.PortableBindingAssembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Func<TListModel> AddHandler { get; set; }
Public Property AddHandler As Func(Of TListModel)
Get
Set
public:
property Func<TListModel>^ AddHandler {
Func<TListModel>^ get ();
void set (Func<TListModel>^ value);
}
member AddHandler : Func<'TListModel> with get, set
Property Value
Type:
FuncTListModelRemarks
The method should return a new object to add to the list. If it returns null then no add is performed.
If you want to insert the new object anywhere but the end of the list then insert it yourself in the
handler and return null.
See Also