Class SortDescriptionCollection
Represents a collection of sorting column description that raises notification for both collection and item changes.
Inheritance
SortDescriptionCollection
Implements
Inherited Members
Namespace: Syncfusion.Maui.Data
Assembly: Syncfusion.Maui.Data.dll
Syntax
public class SortDescriptionCollection : ObservableCollection<SortDescription>, IList<SortDescription>, ICollection<SortDescription>, IList, ICollection, IReadOnlyList<SortDescription>, IReadOnlyCollection<SortDescription>, IEnumerable<SortDescription>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Remarks
You can add many SortDescriptionCollectioninstance to perform sorting.
Constructors
SortDescriptionCollection()
Initializes a new instance of SortDescriptionCollection class.
Declaration
public SortDescriptionCollection()
Properties
this[string]
Declaration
public SortDescription this[string columnName] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnName |
Property Value
| Type |
|---|
| SortDescription |
Methods
InsertItem(int, SortDescription)
to do
Declaration
protected override void InsertItem(int index, SortDescription item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | |
| SortDescription | item |