Share via


GridSort<TGridItem>.ByDescending<U> Method

Definition

Produces a GridSort<TGridItem> instance that sorts according to the specified expression, descending.

public static Microsoft.AspNetCore.Components.QuickGrid.GridSort<TGridItem> ByDescending<U> (System.Linq.Expressions.Expression<Func<TGridItem,U>> expression);
static member ByDescending : System.Linq.Expressions.Expression<Func<'GridItem, 'U>> -> Microsoft.AspNetCore.Components.QuickGrid.GridSort<'GridItem>
Public Shared Function ByDescending(Of U) (expression As Expression(Of Func(Of TGridItem, U))) As GridSort(Of TGridItem)

Type Parameters

U

The type of the expression's value.

Parameters

expression
Expression<Func<TGridItem,U>>

An expression defining how a set of TGridItem instances are to be sorted.

Returns

A GridSort<TGridItem> instance representing the specified sorting rule.

Applies to