共用方式為


DataGridColumnHeader.SortDirection 屬性

定義

取得值,這個值表示是否依照相關聯的資料行來排序 DataGrid,以及是以遞增還是遞減順序來排序資料行的值。

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)

屬性值

Nullable<ListSortDirection>

資料行的排序方向,若未排序則為 null

適用於

另請參閱