SortDescription.Direction 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 or sets a value that indicates whether to sort in ascending or descending order.

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

public ListSortDirection Direction { get; set; }

Property Value

Type: System.ComponentModel.ListSortDirection

A ListSortDirection value to indicate whether to sort in ascending or descending order.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: