GridSort<TGridItem>.ByAscending<U> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.