81 references to NavigationMode
PresentationFramework (81)
MS\Internal\AppModel\Journaling.cs (9)
231internal override bool Navigate(INavigator navigator, NavigationMode navMode) 233Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 460internal override bool Navigate(INavigator navigator, NavigationMode navMode) 462Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 563internal override bool Navigate(INavigator navigator, NavigationMode navMode) 565Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward);
MS\Internal\AppModel\JournalNavigationScope.cs (1)
318NavigationMode mode = Journal.GetNavigationMode(entry);
MS\Internal\Controls\WebBrowserEvent.cs (1)
101null, null, null, NavigationMode.New, null, null, true);
MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
65public override void Replay(NavigationService navigationService, NavigationMode mode)
System\Windows\Application.cs (1)
1591NavigatingCancelEventArgs e = new NavigatingCancelEventArgs(relativeUri, null, null, null, NavigationMode.New, null, null, true);
System\Windows\Controls\Frame.cs (1)
1273state.JournalEntry.Navigate(this, NavigationMode.Back);
System\Windows\Navigation\Journal.cs (3)
407internal NavigationMode GetNavigationMode(JournalEntry entry) 417return NavigationMode.Back; 421return NavigationMode.Forward;
System\Windows\Navigation\JournalEntry.cs (4)
61public abstract void Replay(NavigationService navigationService, NavigationMode mode); 311internal virtual bool Navigate(INavigator navigator, NavigationMode navMode) 313Debug.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)
261NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 286if (navMode == NavigationMode.Back || navMode == NavigationMode.Forward || 290Debug.Assert(navMode != NavigationMode.Refresh); // because of !IsSameUri() above 440(navInfo.NavigationMode == NavigationMode.Back || navInfo.NavigationMode == NavigationMode.Forward); 903(finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.Back || 904!finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.New)); 951if ((navInfo == null || navInfo.NavigationMode == NavigationMode.New) 1033UpdateJournal(NavigationMode.New, JournalReason.NewContentNavigation, null); 1035else if (navInfo.NavigationMode != NavigationMode.Refresh) 1141NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 1173Debug.Assert(navMode == NavigationMode.Refresh, 1199if (navMode != NavigationMode.Refresh) 1208Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 1443JournalEntry je = UpdateJournal(NavigationMode.New, JournalReason.AddBackEntry, null); 1536navInfo != null ? navInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1573if ((navInfo != null && navInfo.NavigationMode == NavigationMode.Refresh)) 1655navigateInfo != null ? navigateInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1686if (object.ReferenceEquals(root, _bp) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh)) 1997Navigate(_currentSource, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 2004Navigate(_bp, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 2056navigateInfo.NavigationMode == NavigationMode.New) 2078navigateInfo == null ? NavigationMode.New : navigateInfo.NavigationMode, 2127navigateInfo != null ? navigateInfo.NavigationMode : NavigationMode.New, 2662internal void DoNavigate(Uri source, NavigationMode f, Object navState) 2801bool isRefresh = navInfo == null ? false : navInfo.NavigationMode == NavigationMode.Refresh; 3070internal void DoNavigate(Object bp, NavigationMode navFlags, Object navState) 3085Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp, _bp), 3109NavigationMode navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry) 3111Debug.Assert(navigationMode == NavigationMode.New || 3112navigationMode == NavigationMode.Back || 3113navigationMode == NavigationMode.Forward, "The journal should not be updated on Refresh."); 3117^ (navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward)); 3132if ((navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward) 3160if (navigationMode == NavigationMode.New && pfBase.Content == null) 3169if (navigationMode == NavigationMode.New) 3943new NavigateInfo(parentEntry.Source, NavigationMode.Back, parentEntry) : 3944new NavigateInfo(parentEntry.Source, NavigationMode.New); 3955NavigationMode.Back, parentEntry, returnEventArgs) : 3957NavigationMode.New, null, returnEventArgs); 4300internal NavigateInfo(Uri source, NavigationMode navigationMode) 4306internal NavigateInfo(Uri source, NavigationMode navigationMode, JournalEntry journalEntry) 4318internal NavigationMode NavigationMode 4342return (_navigationMode == NavigationMode.New ^ _journalEntry != null) 4343|| _navigationMode == NavigationMode.Refresh; 4351private NavigationMode _navigationMode = NavigationMode.New; 4366internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source, NavigationMode navigationMode, JournalEntry journalEntry, object returnEventArgs) 4392internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc) 4468NavigationMode _navigationMode = NavigationMode.New;