BindingList<T>.SortDirectionCore Property


Gets the direction the list is sorted.

 virtual property System::ComponentModel::ListSortDirection SortDirectionCore { System::ComponentModel::ListSortDirection get(); };
protected virtual System.ComponentModel.ListSortDirection SortDirectionCore { get; }
member this.SortDirectionCore : System.ComponentModel.ListSortDirection
Protected Overridable ReadOnly Property SortDirectionCore As ListSortDirection

Property Value

One of the ListSortDirection values. The default is Ascending.


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

Applies to