1 write to CurrentPageIndex
Microsoft.AspNetCore.Components.QuickGrid (1)
Pagination\PaginationState.cs (1)
54CurrentPageIndex = pageIndex;
9 references to CurrentPageIndex
Microsoft.AspNetCore.Components.QuickGrid (9)
Pagination\PaginationState.cs (3)
44=> HashCode.Combine(ItemsPerPage, CurrentPageIndex, TotalItemCount); 68if (CurrentPageIndex > 0 && CurrentPageIndex > LastPageIndex)
Pagination\Paginator.razor.cs (4)
35private Task GoPreviousAsync() => GoToPageAsync(State.CurrentPageIndex - 1); 36private Task GoNextAsync() => GoToPageAsync(State.CurrentPageIndex + 1); 39private bool CanGoBack => State.CurrentPageIndex > 0; 40private bool CanGoForwards => State.CurrentPageIndex < State.LastPageIndex;
QuickGrid.razor.cs (2)
306var startIndex = Pagination is null ? 0 : (Pagination.CurrentPageIndex * Pagination.ItemsPerPage); 339startIndex += Pagination.CurrentPageIndex * Pagination.ItemsPerPage;