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