DataGridColumn.SortDirection Property

Definition

Gets or sets the sort direction (ascending or descending) of the column.

public:
 property Nullable<System::ComponentModel::ListSortDirection> SortDirection { Nullable<System::ComponentModel::ListSortDirection> get(); void set(Nullable<System::ComponentModel::ListSortDirection> value); };
public System.ComponentModel.ListSortDirection? SortDirection { get; set; }
member this.SortDirection : Nullable<System.ComponentModel.ListSortDirection> with get, set
Public Property SortDirection As Nullable(Of ListSortDirection)

Property Value

A value that represents the direction for sorting. The registered default is null. For information about what can influence the value, see DependencyProperty.

Applies to