private void Grid_RightTapped(object sender, RightTappedRoutedEventArgs e) { if (e.PointerDeviceType == PointerDeviceType.Mouse) { MenuTriggered?.Invoke(this, e.GetPosition(this)); } }
private void action_Click(object sender, TappedRoutedEventArgs e) { MenuTriggered?.Invoke(this, e.GetPosition(this)); }