Share via


GridSort<TGridItem> Class

Definition

Represents a sort order specification used within QuickGrid<TGridItem>.

public sealed class GridSort<TGridItem>
type GridSort<'GridItem> = class
Public NotInheritable Class GridSort(Of TGridItem)

Type Parameters

TGridItem

The type of data represented by each row in the grid.

Inheritance
GridSort<TGridItem>

Methods

ByAscending<U>(Expression<Func<TGridItem,U>>)

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

ByDescending<U>(Expression<Func<TGridItem,U>>)

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

ThenAscending<U>(Expression<Func<TGridItem,U>>)

Updates a GridSort<TGridItem> instance by appending a further sorting rule.

ThenDescending<U>(Expression<Func<TGridItem,U>>)

Updates a GridSort<TGridItem> instance by appending a further sorting rule.

Applies to