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)
169CanGoBack ? GetPageUrl(State.CurrentPageIndex - 1) : null 198__builder.AddContent(39, State.CurrentPageIndex + 1 224CanGoForwards ? GetPageUrl(State.CurrentPageIndex + 1) : null 340__builder.AddContent(86, 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)
446var startIndex = Pagination is null ? 0 : (Pagination.CurrentPageIndex * Pagination.ItemsPerPage); 480startIndex += Pagination.CurrentPageIndex * Pagination.ItemsPerPage;