protected async void OnColorChanged(object obj, UpdateColorEventArgs args) { color = args.Color; await InvokeAsync(StateHasChanged); }
protected Task OnColorChanged(object obj, UpdateColorEventArgs args) { Color = args.Color; return(InvokeAsync(StateHasChanged)); }