BindingList(Of T).SortPropertyCore 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 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 Overridable ReadOnly Property SortPropertyCore As PropertyDescriptor

Property Value

Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor used for sorting the list.

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

.NET Framework
Available since 2.0
Return to top
Show: