1 write to CurrentPageIndex
Microsoft.AspNetCore.Components.QuickGrid (1)
Pagination\PaginationState.cs (1)
55
CurrentPageIndex
= pageIndex;
15 references to CurrentPageIndex
Microsoft.AspNetCore.Components.QuickGrid (15)
_generated\1\Paginator_razor.g.cs (4)
169
CanGoBack ? GetPageUrl(State.
CurrentPageIndex
- 1) : null
198
__builder.AddContent(39, State.
CurrentPageIndex
+ 1
224
CanGoForwards ? GetPageUrl(State.
CurrentPageIndex
+ 1) : null
340
__builder.AddContent(86, State.
CurrentPageIndex
+ 1
Pagination\PaginationState.cs (3)
45
=> HashCode.Combine(ItemsPerPage,
CurrentPageIndex
, TotalItemCount);
69
if (
CurrentPageIndex
> 0 &&
CurrentPageIndex
> LastPageIndex)
Pagination\Paginator.razor.cs (6)
49
private Task GoPreviousAsync() => GoToPageAsync(State.
CurrentPageIndex
- 1);
50
private Task GoNextAsync() => GoToPageAsync(State.
CurrentPageIndex
+ 1);
53
private bool CanGoBack => State.
CurrentPageIndex
> 0;
54
private bool CanGoForwards => State.
CurrentPageIndex
< State.LastPageIndex;
74
if (pageFromQuery != State.
CurrentPageIndex
)
88
if (pageFromQuery != State.
CurrentPageIndex
)
QuickGrid.razor.cs (2)
446
var startIndex = Pagination is null ? 0 : (Pagination.
CurrentPageIndex
* Pagination.ItemsPerPage);
480
startIndex += Pagination.
CurrentPageIndex
* Pagination.ItemsPerPage;