@inject State State @code { [Parameter] public Func>> StatusFunc { get; set; } private async ValueTask> GetStatuses(ItemsProviderRequest request) { return await this.StatusFunc(request); } protected override void OnInitialized() { base.OnInitialized(); State.CurrentPage = Page.Status; } }