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)

public:
property Nullable<ListSortDirection> SortDirection {
	Nullable<ListSortDirection> 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
Show: