Click or drag to resize
MasterListToListBinderTModel, TListModelAddHandler Property
Gets or sets the method that handles the adding of new items. Can only be set before initialisation.

Namespace: VirtualRadar.WinForms.PortableBinding
Assembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Func<TListModel> AddHandler { get; set; }

Property Value

Type: FuncTListModel
Remarks
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