BindingList<T>.SortDirectionCore Property


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

Gets the direction the list is sorted.

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

protected virtual ListSortDirection SortDirectionCore { get; }

Property Value

Type: System.ComponentModel.ListSortDirection

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.

.NET Framework
Available since 2.0
Return to top