8 references to State
Microsoft.AspNetCore.Components.QuickGrid (8)
Pagination\Paginator.razor.cs (8)
35private Task GoPreviousAsync() => GoToPageAsync(State.CurrentPageIndex - 1); 36private Task GoNextAsync() => GoToPageAsync(State.CurrentPageIndex + 1); 37private Task GoLastAsync() => GoToPageAsync(State.LastPageIndex.GetValueOrDefault(0)); 39private bool CanGoBack => State.CurrentPageIndex > 0; 40private bool CanGoForwards => State.CurrentPageIndex < State.LastPageIndex; 43=> State.SetCurrentPageIndexAsync(pageIndex); 47=> _totalItemCountChanged.SubscribeOrMove(State.TotalItemCountChangedSubscribable);