ערוך

שתף באמצעות


IBindingList.IsSorted Property

Definition

Gets whether the items in the list are sorted.

public:
 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.

Exceptions

Remarks

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