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\1\Paginator_razor.g.cs (4)
178GetPageUrl(Math.Max(0, State.CurrentPageIndex - 1)) 216__builder.AddContent(41, State.CurrentPageIndex + 1 242GetPageUrl(Math.Min(State.LastPageIndex ?? 0, State.CurrentPageIndex + 1)) 376__builder.AddContent(90, State.CurrentPageIndex + 1
Pagination\PaginationState.cs (3)
45=> HashCode.Combine(ItemsPerPage, CurrentPageIndex, TotalItemCount); 69if (CurrentPageIndex > 0 && CurrentPageIndex > LastPageIndex)
Pagination\Paginator.razor.cs (6)
49private Task GoPreviousAsync() => GoToPageAsync(State.CurrentPageIndex - 1); 50private Task GoNextAsync() => GoToPageAsync(State.CurrentPageIndex + 1); 53private bool CanGoBack => State.CurrentPageIndex > 0; 54private bool CanGoForwards => State.CurrentPageIndex < State.LastPageIndex; 74if (pageFromQuery != State.CurrentPageIndex) 88if (pageFromQuery != State.CurrentPageIndex)
QuickGrid.razor.cs (2)
540var startIndex = Pagination is null ? 0 : (Pagination.CurrentPageIndex * Pagination.ItemsPerPage); 574startIndex += Pagination.CurrentPageIndex * Pagination.ItemsPerPage;