Class ListViewDelegateSortDescriptor
Represents a sort descriptor that uses a delegate function to compare items for sorting.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class ListViewDelegateSortDescriptor : SortDescriptorBase, IChildElement, IComparer, IComparer<object>
Constructors
ListViewDelegateSortDescriptor()
Declaration
public ListViewDelegateSortDescriptor()
Fields
ComparerProperty
Identifies the Comparer bindable property.
Declaration
public static readonly BindableProperty ComparerProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
Comparer
Gets or sets the comparer function used to compare items for sorting.
Declaration
public Func<object, object, int> Comparer { get; set; }
Property Value
System.Func<System.Object, System.Object, System.Int32>
A System.Func<, , > that takes two objects and returns an integer indicating their relative sort order. |
Methods
GetDescriptorCollection(RadListView)
Gets the descriptor collection from the specified list view.
Declaration
protected override IList GetDescriptorCollection(RadListView listView)
Parameters
RadListView
listView
The RadListView instance. |
Returns
System.Collections.IList
The sort descriptors collection as System.Collections.IList. |