DataGridColumnHeader.SortDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property Nullable<System::ComponentModel::ListSortDirection> SortDirection { Nullable<System::ComponentModel::ListSortDirection> get(); };
public System.ComponentModel.ListSortDirection? SortDirection { get; }
member this.SortDirection : Nullable<System.ComponentModel.ListSortDirection>
Public ReadOnly Property SortDirection As Nullable(Of ListSortDirection)
Property Value
The sort direction of the column or null
if unsorted.