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)

属性值

列的排序方向;如果不排序,则为 null

适用于

另请参阅