Dela via


GridItemsProviderResult.From<TGridItem> Method

Definition

Supplies an instance of GridItemsProviderResult<TGridItem>.

public static Microsoft.AspNetCore.Components.QuickGrid.GridItemsProviderResult<TGridItem> From<TGridItem> (System.Collections.Generic.ICollection<TGridItem> items, int totalItemCount);
static member From : System.Collections.Generic.ICollection<'GridItem> * int -> Microsoft.AspNetCore.Components.QuickGrid.GridItemsProviderResult<'GridItem>
Public Shared Function From(Of TGridItem) (items As ICollection(Of TGridItem), totalItemCount As Integer) As GridItemsProviderResult(Of TGridItem)

Type Parameters

TGridItem

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

Parameters

items
ICollection<TGridItem>

The items being supplied.

totalItemCount
Int32

The total numer of items that exist. See TotalItemCount for details.

Returns

An instance of GridItemsProviderResult<TGridItem>.

Applies to