System.ComponentModel.ListSortDirection Enumeration

Specifies the direction of a sort operation.

Syntax

public enum ListSortDirection

Remarks

IBindingListView.ApplySort(ListSortDescriptionCollection) and IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) use this enumeration.

Members

Member NameDescription
Ascending

Sorts in ascending order.

Descending

Sorts in descending order.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0