/// <summary> /// Left button tapped method /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void LeftButton_Tapped(object sender, TappedRoutedEventArgs e) { Button b = sender as Button; b.IsEnabled = false; LeftButtonTapped?.Invoke(this.Content, e); b.IsEnabled = true; }
partial void LeftButton_Tapped(UIButton sender) { LeftButtonTapped?.Invoke(this, EventArgs.Empty); LeftButton.BackgroundColor = Colors.PopUpSelectedButtonColor; Close(); }