Class SortComparers
Compares two SortComparer to perform sort operation based on custom logic.
Inheritance
System.Object
SortComparers
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.UWP.dll
Syntax
public class SortComparers : ObservableCollection<SortComparer>
Constructors
SortComparers()
Initializes a new instance of SortComparers class.
Declaration
public SortComparers()
Properties
Item[String]
Gets the sort comparer for the specified property name.
Declaration
public IComparer<object> this[string propertyName] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name for which the sort comparer is to be obtained. |
Property Value
Type | Description |
---|---|
System.Collections.Generic.IComparer<System.Object> | Returns the sort comparer for the given property name. |