1 write to CurrentPageIndex
Microsoft.AspNetCore.Components.QuickGrid (1)
Pagination\PaginationState.cs (1)
54
CurrentPageIndex
= pageIndex;
9 references to CurrentPageIndex
Microsoft.AspNetCore.Components.QuickGrid (9)
Pagination\PaginationState.cs (3)
44
=> HashCode.Combine(ItemsPerPage,
CurrentPageIndex
, TotalItemCount);
68
if (
CurrentPageIndex
> 0 &&
CurrentPageIndex
> LastPageIndex)
Pagination\Paginator.razor.cs (4)
35
private Task GoPreviousAsync() => GoToPageAsync(State.
CurrentPageIndex
- 1);
36
private Task GoNextAsync() => GoToPageAsync(State.
CurrentPageIndex
+ 1);
39
private bool CanGoBack => State.
CurrentPageIndex
> 0;
40
private bool CanGoForwards => State.
CurrentPageIndex
< State.LastPageIndex;
QuickGrid.razor.cs (2)
306
var startIndex = Pagination is null ? 0 : (Pagination.
CurrentPageIndex
* Pagination.ItemsPerPage);
339
startIndex += Pagination.
CurrentPageIndex
* Pagination.ItemsPerPage;