12 references to State
Microsoft.AspNetCore.Components.QuickGrid (12)
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);
Pagination_Paginator_razor.g.cs (4)
47if (State.TotalItemCount.HasValue) 99__builder.AddContent(9, State.TotalItemCount 181__builder.AddContent(39, State.CurrentPageIndex + 1 193__builder.AddContent(43, State.LastPageIndex + 1