SortDirection Property

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Gets or sets the sort direction indicator that will be displayed on the column.

ListSortDirection? SortDirection { get; set; }

Returns

Remarks

Note that changing this property does not change the sorting of the data, it is only used to display a sort direction indicator. To sort data according to a column use SortBy(IColumn, ListSortDirection).