BindingList<T>.SupportsSortingCore Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: