private void OnStatePropertyChange(object sender, PropertyChangedEventArgs e) { StateHasChanged(); if (PagerChanged.HasDelegate && (e.PropertyName == nameof(DataPagerState.Page) || e.PropertyName == nameof(DataPagerState.PageSize))) { PagerChanged.InvokeAsync(new PageChangedEventArgs(PagerState.Page, PageSize)); } }