Table of Contents

Property SortDescriptions

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

SortDescriptions

Collection of Sort criteria to sort items in this view over the SourceCollection.

public virtual SortDescriptionCollection SortDescriptions { get; }

Property Value

SortDescriptionCollection

Remarks

Simpler implementations do not support sorting and will return an empty and immutable / read-only SortDescription collection. Attempting to modify such a collection will cause NotSupportedException. Use CanSort property on CollectionView to test if sorting is supported before modifying the returned collection.

One or more sort criteria in form of SortDescription can be added, each specifying a property and direction to sort by.