Beispiel #1
0
        internal static NavigationMode ToNavigationMode(this System.Windows.Navigation.NavigationMode mode)
        {
            switch (mode)
            {
            case System.Windows.Navigation.NavigationMode.New:
                return(NavigationMode.New);

            case System.Windows.Navigation.NavigationMode.Back:
                return(NavigationMode.Back);

            case System.Windows.Navigation.NavigationMode.Refresh:
                return(NavigationMode.Refresh);

            default:
                return(NavigationMode.Undefined);
            }
        }
 public override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e, System.Windows.Navigation.NavigationMode mode)
 {
     System.Diagnostics.Debug.WriteLine("Navigated To Page 2, NavigationMode is " + mode);
 }