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\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Paginator_razor.g.cs (4)
188
GetPageUrl(Math.Max(0, State.
CurrentPageIndex
- 1))
228
__builder.AddContent(45, State.
CurrentPageIndex
+ 1
254
GetPageUrl(Math.Min(State.LastPageIndex ?? 0, State.
CurrentPageIndex
+ 1))
390
__builder.AddContent(96, State.
CurrentPageIndex
+ 1
Pagination\PaginationState.cs (3)
45
=> HashCode.Combine(ItemsPerPage,
CurrentPageIndex
, TotalItemCount);
69
if (
CurrentPageIndex
> 0 &&
CurrentPageIndex
> LastPageIndex)
Pagination\Paginator.razor.cs (6)
54
private Task GoPreviousAsync() => GoToPageAsync(State.
CurrentPageIndex
- 1);
55
private Task GoNextAsync() => GoToPageAsync(State.
CurrentPageIndex
+ 1);
58
private bool CanGoBack => State.
CurrentPageIndex
> 0;
59
private bool CanGoForwards => State.
CurrentPageIndex
< State.LastPageIndex;
79
if (pageFromQuery != State.
CurrentPageIndex
)
93
if (pageFromQuery != State.
CurrentPageIndex
)
QuickGrid.razor.cs (2)
537
var startIndex = Pagination is null ? 0 : (Pagination.
CurrentPageIndex
* Pagination.ItemsPerPage);
571
startIndex += Pagination.
CurrentPageIndex
* Pagination.ItemsPerPage;