DataGridColumnHeader.SortDirection Property

.NET Framework (current version)

Gets a value that indicates whether the DataGrid is sorted by the associated column and whether the column values are in ascending or descending order.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

member SortDirection : Nullable<ListSortDirection> with get

Property Value

Type: System.Nullable<ListSortDirection>

The sort direction of the column or null if unsorted.

.NET Framework
Available since 4.0
Return to top