Share via


GridSort<TGridItem>.ByAscending<U> Method

Definition

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

public static Microsoft.AspNetCore.Components.QuickGrid.GridSort<TGridItem> ByAscending<U> (System.Linq.Expressions.Expression<Func<TGridItem,U>> expression);
static member ByAscending : System.Linq.Expressions.Expression<Func<'GridItem, 'U>> -> Microsoft.AspNetCore.Components.QuickGrid.GridSort<'GridItem>
Public Shared Function ByAscending(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