Skip to content

Instantly share code, notes, and snippets.

@kevingosse
Created February 21, 2016 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevingosse/bf583311763c14116df0 to your computer and use it in GitHub Desktop.
Save kevingosse/bf583311763c14116df0 to your computer and use it in GitHub Desktop.
public MainPage()
{
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
this.NavigationService = new NavigationService();
this.NavigationService.BackRequested += this.OnBackRequested1;
this.NavigationService.PreemptiveBackRequested += this.OnBackRequested2;
this.InitializeComponent();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment