Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGridHeaderBorder.SortDirection Property

.NET Framework 4.6 and 4.5

Gets or sets the header sort direction.

Namespace:  Microsoft.Windows.Themes
Assemblies:   PresentationFramework.AeroLite (in PresentationFramework.AeroLite.dll)
  PresentationFramework.Royale (in PresentationFramework.Royale.dll)
  PresentationFramework.Luna (in PresentationFramework.Luna.dll)
  PresentationFramework.Classic (in PresentationFramework.Classic.dll)
  PresentationFramework.Aero (in PresentationFramework.Aero.dll)
  PresentationFramework.Aero2 (in PresentationFramework.Aero2.dll)

public Nullable<ListSortDirection> SortDirection { get; set; }

Property Value

Type: System.Nullable<ListSortDirection>
One of the enumeration values that indicates which direction the column is sorted. The registered default is null. For more information about what can influence the value, see DependencyProperty.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft