BindingList<T>::SortDirectionCore 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 direction the list is sorted.

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

protected:
property ListSortDirection SortDirectionCore {
	virtual ListSortDirection 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
Show: