BindingList<T>.IsSortedCore Property

Definition

Gets a value indicating whether the list is sorted.

protected:
 virtual property bool IsSortedCore { bool get(); };
protected virtual bool IsSortedCore { get; }
member this.IsSortedCore : bool
Protected Overridable ReadOnly Property IsSortedCore As Boolean

Property Value

true if the list is sorted; otherwise, false. The default is false.

Remarks

The BindingList<T> class does not provide a base implementation of sorting, so IsSortedCore always returns false by default.

The BindingList<T> class does not provide a base implementation of sorting. To enable sorting, derive a class from BindingList<T> and:

In addition, you may want to implement the supplemental SortDirectionCore and SortPropertyCores sorting properties.

Applies to