private CheckForResetNavigation ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Navigation.NavigationEventArgs | |
Résultat | void |
private void CheckForResetNavigation(object sender, NavigationEventArgs e)
{
// If the app has received a 'reset' navigation, then we need to check
// on the next navigation to see if the page stack should be reset
if (e.NavigationMode == NavigationMode.Reset)
RootFrame.Navigated += ClearBackStackAfterReset;
}