7 references to Descending
Microsoft.AspNetCore.Components.QuickGrid (5)
Columns\GridSort.cs (2)
121
new SortedProperty { PropertyName = ToPropertyName(_firstExpression.Item1), Direction = (_firstExpression.Item2 ^ ascending) ? SortDirection.
Descending
: SortDirection.Ascending }
128
result.Add(new SortedProperty { PropertyName = ToPropertyName(thenLambda), Direction = (thenAscending ^ ascending) ? SortDirection.
Descending
: SortDirection.Ascending });
QuickGrid.razor.cs (2)
238
_sortByAscending = initialSortDirection.Value != SortDirection.
Descending
;
265
SortDirection.
Descending
=> false,
SortDirection.cs (1)
13
/// the sort order will automatically toggle between <see cref="Ascending"/> and <see cref="
Descending
"/> on successive calls, and
Microsoft.AspNetCore.Components.QuickGrid.Tests (2)
GridSortTest.cs (2)
120
Assert.Equal(SortDirection.
Descending
, propertyList.First().Direction);
144
Assert.Equal(SortDirection.
Descending
, secondProperty.Direction);