Edit

Share via


BindingList<T>.SortPropertyCore Property

Definition

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

protected:
 virtual property System::ComponentModel::PropertyDescriptor ^ SortPropertyCore { System::ComponentModel::PropertyDescriptor ^ get(); };
protected virtual System.ComponentModel.PropertyDescriptor SortPropertyCore { get; }
protected virtual System.ComponentModel.PropertyDescriptor? SortPropertyCore { get; }
member this.SortPropertyCore : System.ComponentModel.PropertyDescriptor
Protected Overridable ReadOnly Property SortPropertyCore As PropertyDescriptor

Property Value

The PropertyDescriptor used for sorting the list.

Remarks

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:

Applies to