8 references to State
Microsoft.AspNetCore.Components.QuickGrid (8)
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);