MasterListToListBinderTModel, TListModelGetSortValue Property |
Gets or sets a delegate that returns a comparable value from the list model for a single column.
Namespace: VirtualRadar.WinForms.PortableBindingAssembly: VirtualRadar.WinForms (in VirtualRadar.WinForms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Func<TListModel, ColumnHeader, IComparable, IComparable> GetSortValue { get; set; }
Public Property GetSortValue As Func(Of TListModel, ColumnHeader, IComparable, IComparable)
Get
Set
public:
property Func<TListModel, ColumnHeader^, IComparable^, IComparable^>^ GetSortValue {
Func<TListModel, ColumnHeader^, IComparable^, IComparable^>^ get ();
void set (Func<TListModel, ColumnHeader^, IComparable^, IComparable^>^ value);
}
member GetSortValue : Func<'TListModel, ColumnHeader, IComparable, IComparable> with get, set
Property Value
Type:
FuncTListModel,
ColumnHeader,
IComparable,
IComparableRemarks
The parameters are list model, followed by the header for the column that we're sorting on,
followed by the default value for the list model (usually the result of ToString). The method
should return a comparable. If it doesn't have any special interest in the column then return
the comparable that was passed in.
See Also