81 references to NavigationMode
PresentationFramework (81)
MS\Internal\AppModel\Journaling.cs (9)
222internal override bool Navigate(INavigator navigator, NavigationMode navMode) 224Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 451internal override bool Navigate(INavigator navigator, NavigationMode navMode) 453Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 554internal override bool Navigate(INavigator navigator, NavigationMode navMode) 556Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward);
MS\Internal\AppModel\JournalNavigationScope.cs (1)
315NavigationMode mode = Journal.GetNavigationMode(entry);
MS\Internal\Controls\WebBrowserEvent.cs (1)
89null, null, null, NavigationMode.New, null, null, true);
MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
60public override void Replay(NavigationService navigationService, NavigationMode mode)
System\Windows\Application.cs (1)
1552NavigatingCancelEventArgs e = new NavigatingCancelEventArgs(relativeUri, null, null, null, NavigationMode.New, null, null, true);
System\Windows\Controls\Frame.cs (1)
1253state.JournalEntry?.Navigate(this, NavigationMode.Back);
System\Windows\Navigation\Journal.cs (3)
396internal NavigationMode GetNavigationMode(JournalEntry entry) 406return NavigationMode.Back; 410return NavigationMode.Forward;
System\Windows\Navigation\JournalEntry.cs (4)
46public abstract void Replay(NavigationService navigationService, NavigationMode mode); 296internal virtual bool Navigate(INavigator navigator, NavigationMode navMode) 298Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward);
System\Windows\Navigation\NavigatingCancelEventArgs.cs (3)
36Object extraData, NavigationMode navigationMode, 111public NavigationMode NavigationMode 165private NavigationMode _navigationMode;
System\Windows\Navigation\NavigationService.cs (57)
247NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 272if (navMode == NavigationMode.Back || navMode == NavigationMode.Forward || 276Debug.Assert(navMode != NavigationMode.Refresh); // because of !IsSameUri() above 423(navInfo.NavigationMode == NavigationMode.Back || navInfo.NavigationMode == NavigationMode.Forward); 874(finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.Back || 875!finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.New)); 919if ((navInfo == null || navInfo.NavigationMode == NavigationMode.New) 1001UpdateJournal(NavigationMode.New, JournalReason.NewContentNavigation, null); 1003else if (navInfo.NavigationMode != NavigationMode.Refresh) 1103NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 1135Debug.Assert(navMode == NavigationMode.Refresh, 1161if (navMode != NavigationMode.Refresh) 1170Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 1405JournalEntry je = UpdateJournal(NavigationMode.New, JournalReason.AddBackEntry, null); 1497navInfo != null ? navInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1534if ((navInfo != null && navInfo.NavigationMode == NavigationMode.Refresh)) 1610navigateInfo != null ? navigateInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1641if (object.ReferenceEquals(root, _bp) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh)) 1945Navigate(_currentSource, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 1952Navigate(_bp, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 2004navigateInfo.NavigationMode == NavigationMode.New) 2026navigateInfo == null ? NavigationMode.New : navigateInfo.NavigationMode, 2072navigateInfo != null ? navigateInfo.NavigationMode : NavigationMode.New, 2600internal void DoNavigate(Uri source, NavigationMode f, Object navState) 2739bool isRefresh = navInfo == null ? false : navInfo.NavigationMode == NavigationMode.Refresh; 3008internal void DoNavigate(Object bp, NavigationMode navFlags, Object navState) 3023Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp, _bp), 3047NavigationMode navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry) 3049Debug.Assert(navigationMode == NavigationMode.New || 3050navigationMode == NavigationMode.Back || 3051navigationMode == NavigationMode.Forward, "The journal should not be updated on Refresh."); 3055^ (navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward)); 3070if ((navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward) 3098if (navigationMode == NavigationMode.New && pfBase.Content == null) 3107if (navigationMode == NavigationMode.New) 3875new NavigateInfo(parentEntry.Source, NavigationMode.Back, parentEntry) : 3876new NavigateInfo(parentEntry.Source, NavigationMode.New); 3887NavigationMode.Back, parentEntry, returnEventArgs) : 3889NavigationMode.New, null, returnEventArgs); 4232internal NavigateInfo(Uri source, NavigationMode navigationMode) 4238internal NavigateInfo(Uri source, NavigationMode navigationMode, JournalEntry journalEntry) 4250internal NavigationMode NavigationMode 4274return (_navigationMode == NavigationMode.New ^ _journalEntry != null) 4275|| _navigationMode == NavigationMode.Refresh; 4283private NavigationMode _navigationMode = NavigationMode.New; 4298internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source, NavigationMode navigationMode, JournalEntry journalEntry, object returnEventArgs) 4324internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc) 4400NavigationMode _navigationMode = NavigationMode.New;