GridItemsProviderResult.From<TGridItem> 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.
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>.