Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. rootFrame.PointerPressed += RootFrame_PointerPressed;
  2. SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;
  3.  
  4. // Optional code to show back button on title bar
  5. SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =
  6. rootFrame.CanGoBack ?
  7. AppViewBackButtonVisibility.Visible :
  8. AppViewBackButtonVisibility.Collapsed;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement