Exemple #1
0
        void FacadeNavigatedEventHandler(object sender, global::Windows.UI.Xaml.Navigation.NavigationEventArgs e)
        {
            CurrentPageType  = e.SourcePageType;
            CurrentPageParam = e.Parameter;
            var args = new NavigatedEventArgs(e, Content as Page);

            if (NavigationModeHint != NavigationMode.New)
            {
                args.NavigationMode = NavigationModeHint;
            }
            NavigationModeHint = NavigationMode.New;
            foreach (var handler in _navigatedEventHandlers)
            {
                handler(this, args);
            }
        }
Exemple #2
0
 void FacadeNavigatedEventHandler(object sender, global::Windows.UI.Xaml.Navigation.NavigationEventArgs e)
 {
     CurrentPageType = e.SourcePageType;
     CurrentPageParam = e.Parameter;
     var args = new NavigatedEventArgs(e, Content as Page);
     if (NavigationModeHint != NavigationMode.New)
         args.NavigationMode = NavigationModeHint;
     NavigationModeHint = NavigationMode.New;
     foreach (var handler in _navigatedEventHandlers)
     {
         handler(this, args);
     }
 }