/// <summary> /// Right button tapped method /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void RightButton_Tapped(object sender, TappedRoutedEventArgs e) { Button b = sender as Button; b.IsEnabled = false; RightButtonTapped?.Invoke(this.Content, e); b.IsEnabled = true; }
protected virtual void OnRightButtonTapped(object sender, ItemTappedEventArgs e) { RightButtonTapped?.Invoke(this, e); }
partial void RightButton_Tapped(UIButton sender) { RightButton.BackgroundColor = Colors.PopUpSelectedButtonColor; RightButtonTapped?.Invoke(this, EventArgs.Empty); Close(); }