8 references to ItemsPerPage
Microsoft.AspNetCore.Components.QuickGrid (8)
Pagination\PaginationState.cs (2)
32
public int? LastPageIndex => (TotalItemCount - 1) /
ItemsPerPage
;
44
=> HashCode.Combine(
ItemsPerPage
, CurrentPageIndex, TotalItemCount);
QuickGrid.razor.cs (5)
339
var startIndex = Pagination is null ? 0 : (Pagination.CurrentPageIndex * Pagination.
ItemsPerPage
);
341
startIndex, Pagination?.
ItemsPerPage
, _sortByColumn, _sortByAscending, thisLoadCts.Token);
372
startIndex += Pagination.CurrentPageIndex * Pagination.
ItemsPerPage
;
373
count = Math.Min(request.Count, Pagination.
ItemsPerPage
- request.StartIndex);
387
_ariaBodyRowCount = Pagination is null ? providerResult.TotalItemCount : Pagination.
ItemsPerPage
;
QuickGrid_razor.g.cs (1)
404
while (rowIndex++ < initialRowIndex + Pagination.
ItemsPerPage
)