8 references to LastPageIndex
Microsoft.AspNetCore.Components.QuickGrid (8)
_generated\1\Paginator_razor.g.cs (4)
228
__builder.AddContent(45, State.
LastPageIndex
+ 1
242
GetPageUrl(Math.Min(State.
LastPageIndex
?? 0, State.CurrentPageIndex + 1))
277
GetPageUrl(State.
LastPageIndex
?? 0)
388
__builder.AddContent(94, State.
LastPageIndex
+ 1
Pagination\PaginationState.cs (2)
69
if (CurrentPageIndex > 0 && CurrentPageIndex >
LastPageIndex
)
73
return SetCurrentPageIndexAsync(
LastPageIndex
.Value);
Pagination\Paginator.razor.cs (2)
51
private Task GoLastAsync() => GoToPageAsync(State.
LastPageIndex
.GetValueOrDefault(0));
54
private bool CanGoForwards => State.CurrentPageIndex < State.
LastPageIndex
;