IsSortedCore Property

BindingList<T>.IsSortedCore Property

 

Gets a value indicating whether the list is sorted.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

protected virtual bool IsSortedCore { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft