SupportsSortingCore Property

BindingList<T>.SupportsSortingCore Property

 

Gets a value indicating whether the list supports sorting.

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

protected virtual bool SupportsSortingCore { get; }

Property Value

Type: System.Boolean

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

The SupportsSortingCore property indicates whether the BindingList<T> supports sorting with the ApplySortCore method.

The BindingList<T> class does not provide a base implementation of sorting, so SupportsSortingCore always returns false by default. For more information about implementing sorting, see the ApplySortCore method.

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