private void TouchUp() { TouchedUp?.Invoke(this, null); Clicked?.Invoke(this, null); Container.BackgroundColor = BackgroundColor; ButtonText.TextColor = ForegroundColor; ColorIcon(ForegroundColor); }
void TouchUp() { TouchedUp?.Invoke(this, null); TouchedUpCommand?.Execute(null); Clicked?.Invoke(this, null); ClickedCommand?.Execute(null); Container.BackgroundColor = BackgroundColor; ButtonText.TextColor = ForegroundColor; ColorIcon(ForegroundColor); }