Class SortComparers
Compares two SortComparer to perform sort operation based on custom logic.
Implements
Inherited Members
Namespace: Syncfusion.Maui.Data
Assembly: Syncfusion.Maui.Data.dll
Syntax
[ComVisible(false)]
public class SortComparers : ObservableCollection<SortComparer>, IList<SortComparer>, ICollection<SortComparer>, IList, ICollection, IReadOnlyList<SortComparer>, IReadOnlyCollection<SortComparer>, IEnumerable<SortComparer>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Constructors
SortComparers()
Initializes a new instance of SortComparers class.
Declaration
public SortComparers()
Properties
this[string]
Gets the sort comparer for the specified property name.
Declaration
public IComparer<object> this[string propertyName] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name for which the sort comparer is to be obtained. |
Property Value
| Type | Description |
|---|---|
| IComparer<object> | Returns the sort comparer for the given property name. |