IBindingList.IsSorted Property


Gets whether the items in the list are sorted.

 property bool IsSorted { bool get(); };
public bool IsSorted { get; }
member this.IsSorted : bool
Public ReadOnly Property IsSorted As Boolean

Property Value

true if ApplySort(PropertyDescriptor, ListSortDirection) has been called and RemoveSort() has not been called; otherwise, false.



This property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

If IsSorted returns true, items are added or removed in the order of the sort.

Applies to