示例#1
0
 // 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));
 }
示例#2
0
        private void Bubble_Holding(object sender, HoldingRoutedEventArgs e)
        {
            FrameworkElement senderElement = sender as FrameworkElement;

            FlyoutMenu.ShowAt(senderElement);
        }
示例#3
0
 // flyout menu on right click
 private void DevicesGridView_RightTapped(object sender, RightTappedRoutedEventArgs e)
 {
     FlyoutMenu.ShowAt(sender as UIElement, e.GetPosition(sender as UIElement));
 }