DataGridColumn.SortDirection DataGridColumn.SortDirection DataGridColumn.SortDirection DataGridColumn.SortDirection Property

定義

取得或設定欄的排序方向 (遞增或遞減)。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 Nullable<System.ComponentModel.ListSortDirection> SortDirection { get; set; }
member this.SortDirection : Nullable<System.ComponentModel.ListSortDirection> with get, set
Public Property SortDirection As Nullable(Of ListSortDirection)

屬性值

表示排序方向的值。A value that represents the direction for sorting. 已註冊的預設值是 nullThe registered default is null. 如需哪些因素會影響值的詳細資訊,請參閱 DependencyPropertyFor information about what can influence the value, see DependencyProperty.

適用於