8 references to LastPageIndex
Microsoft.AspNetCore.Components.QuickGrid (8)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Paginator_razor.g.cs (4)
240
__builder.AddContent(49, State.
LastPageIndex
+ 1
254
GetPageUrl(Math.Min(State.
LastPageIndex
?? 0, State.CurrentPageIndex + 1))
289
GetPageUrl(State.
LastPageIndex
?? 0)
402
__builder.AddContent(100, State.
LastPageIndex
+ 1
Pagination\PaginationState.cs (2)
69
if (CurrentPageIndex > 0 && CurrentPageIndex >
LastPageIndex
)
73
return SetCurrentPageIndexAsync(
LastPageIndex
.Value);
Pagination\Paginator.razor.cs (2)
56
private Task GoLastAsync() => GoToPageAsync(State.
LastPageIndex
.GetValueOrDefault(0));
59
private bool CanGoForwards => State.CurrentPageIndex < State.
LastPageIndex
;