Create a gist now

Instantly share code, notes, and snippets.

@KooKiz /MainPage.xaml.cs Secret
Created Feb 21, 2016

What would you like to do?
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