Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SortDirection Property

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