daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void SingleMediaElement_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
  2.     {
  3.         SingleMediaElement.IsFullWindow = !SingleMediaElement.IsFullWindow;
  4.     }
  5.    
  6. private void SingleMediaElement_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
  7. {
  8.         var view = ApplicationView.GetForCurrentView();
  9.  
  10.         if (view.IsFullScreenMode)
  11.             view.ExitFullScreenMode();
  12.         else
  13.             view.TryEnterFullScreenMode();
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top