BindingList<T>.SortPropertyCore Property


Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.

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

protected virtual PropertyDescriptor SortPropertyCore { get; }

Property Value

Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor used for sorting the list.

SortPropertyCore returns null by default because the BindingList<T> class does not provide a base implementation of sorting. To enable sorting, derive a class from BindingList<T> and:

.NET Framework
Available since 2.0
Return to top