BindingList<T>::IsSortedCore Property
.NET Framework (current version)
Gets a value indicating whether the list is sorted.
Assembly: System (in System.dll)
Property Value
Type: System::Booleantrue 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:
Override ApplySortCore and implement sorting raising the ListChanged event when sorting is complete.
Override RemoveSortCore and implement sort removal.
Override SupportsSortingCore and set SupportsSortingCore to true.
In addition, you may want to implement the supplemental SortDirectionCore and SortPropertyCores sorting properties.
.NET Framework
Available since 2.0
Available since 2.0
Show: