7 references to Descending
Microsoft.AspNetCore.Components.QuickGrid (5)
Columns\GridSort.cs (2)
121new SortedProperty { PropertyName = ToPropertyName(_firstExpression.Item1), Direction = (_firstExpression.Item2 ^ ascending) ? SortDirection.Descending : SortDirection.Ascending } 128result.Add(new SortedProperty { PropertyName = ToPropertyName(thenLambda), Direction = (thenAscending ^ ascending) ? SortDirection.Descending : SortDirection.Ascending });
QuickGrid.razor.cs (2)
238_sortByAscending = initialSortDirection.Value != SortDirection.Descending; 265SortDirection.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)
120Assert.Equal(SortDirection.Descending, propertyList.First().Direction); 144Assert.Equal(SortDirection.Descending, secondProperty.Direction);