async void OnAnimateBoxViewButtonClicked(object sender, EventArgs e) { SetIsEnabledCancelButtonState(true); await boxView.ColorTo(Color.Blue, Color.Red, c => boxView.Color = c, 4000); }