// show a flyout menu under under the pointer private void ShowFlyOutMenu(object sender, RightTappedRoutedEventArgs e) { FlyoutMenu.ShowAt(sender as UIElement, e.GetPosition(sender as UIElement)); }
private void Bubble_Holding(object sender, HoldingRoutedEventArgs e) { FrameworkElement senderElement = sender as FrameworkElement; FlyoutMenu.ShowAt(senderElement); }
// flyout menu on right click private void DevicesGridView_RightTapped(object sender, RightTappedRoutedEventArgs e) { FlyoutMenu.ShowAt(sender as UIElement, e.GetPosition(sender as UIElement)); }