DataGridColumnHeader.SortDirection Property

Definition

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.

Applies to

See also