Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rootFrame.PointerPressed += RootFrame_PointerPressed;
SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;
// Optional code to show back button on title bar
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =
rootFrame.CanGoBack ?
AppViewBackButtonVisibility.Visible :
AppViewBackButtonVisibility.Collapsed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.