12 references to State
Microsoft.AspNetCore.Components.QuickGrid (12)
Pagination\Paginator.razor.cs (8)
35
private Task GoPreviousAsync() => GoToPageAsync(
State
.CurrentPageIndex - 1);
36
private Task GoNextAsync() => GoToPageAsync(
State
.CurrentPageIndex + 1);
37
private Task GoLastAsync() => GoToPageAsync(
State
.LastPageIndex.GetValueOrDefault(0));
39
private bool CanGoBack =>
State
.CurrentPageIndex > 0;
40
private bool CanGoForwards =>
State
.CurrentPageIndex <
State
.LastPageIndex;
43
=>
State
.SetCurrentPageIndexAsync(pageIndex);
47
=> _totalItemCountChanged.SubscribeOrMove(
State
.TotalItemCountChangedSubscribable);
Pagination_Paginator_razor.g.cs (4)
47
if (
State
.TotalItemCount.HasValue)
99
__builder.AddContent(9,
State
.TotalItemCount
181
__builder.AddContent(39,
State
.CurrentPageIndex + 1
193
__builder.AddContent(43,
State
.LastPageIndex + 1