7 references to ItemsPerPage
Microsoft.AspNetCore.Components.QuickGrid (7)
Pagination\PaginationState.cs (2)
32public int? LastPageIndex => (TotalItemCount - 1) / ItemsPerPage; 44=> HashCode.Combine(ItemsPerPage, CurrentPageIndex, TotalItemCount);
QuickGrid.razor.cs (5)
321var startIndex = Pagination is null ? 0 : (Pagination.CurrentPageIndex * Pagination.ItemsPerPage); 323startIndex, Pagination?.ItemsPerPage, _sortByColumn, _sortByAscending, thisLoadCts.Token); 354startIndex += Pagination.CurrentPageIndex * Pagination.ItemsPerPage; 355count = Math.Min(request.Count, Pagination.ItemsPerPage - request.StartIndex); 369_ariaBodyRowCount = Pagination is null ? providerResult.TotalItemCount : Pagination.ItemsPerPage;