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)
102null, 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)
263NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 288if (navMode == NavigationMode.Back || navMode == NavigationMode.Forward || 292Debug.Assert(navMode != NavigationMode.Refresh); // because of !IsSameUri() above 442(navInfo.NavigationMode == NavigationMode.Back || navInfo.NavigationMode == NavigationMode.Forward); 905(finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.Back || 906!finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.New)); 953if ((navInfo == null || navInfo.NavigationMode == NavigationMode.New) 1035UpdateJournal(NavigationMode.New, JournalReason.NewContentNavigation, null); 1037else if (navInfo.NavigationMode != NavigationMode.Refresh) 1143NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 1175Debug.Assert(navMode == NavigationMode.Refresh, 1201if (navMode != NavigationMode.Refresh) 1210Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 1445JournalEntry je = UpdateJournal(NavigationMode.New, JournalReason.AddBackEntry, null); 1538navInfo != null ? navInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1575if ((navInfo != null && navInfo.NavigationMode == NavigationMode.Refresh)) 1657navigateInfo != null ? navigateInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1688if (object.ReferenceEquals(root, _bp) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh)) 1999Navigate(_currentSource, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 2006Navigate(_bp, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 2058navigateInfo.NavigationMode == NavigationMode.New) 2080navigateInfo == null ? NavigationMode.New : navigateInfo.NavigationMode, 2129navigateInfo != null ? navigateInfo.NavigationMode : NavigationMode.New, 2664internal void DoNavigate(Uri source, NavigationMode f, Object navState) 2803bool isRefresh = navInfo == null ? false : navInfo.NavigationMode == NavigationMode.Refresh; 3072internal void DoNavigate(Object bp, NavigationMode navFlags, Object navState) 3087Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp, _bp), 3111NavigationMode navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry) 3113Debug.Assert(navigationMode == NavigationMode.New || 3114navigationMode == NavigationMode.Back || 3115navigationMode == NavigationMode.Forward, "The journal should not be updated on Refresh."); 3119^ (navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward)); 3134if ((navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward) 3162if (navigationMode == NavigationMode.New && pfBase.Content == null) 3171if (navigationMode == NavigationMode.New) 3945new NavigateInfo(parentEntry.Source, NavigationMode.Back, parentEntry) : 3946new NavigateInfo(parentEntry.Source, NavigationMode.New); 3957NavigationMode.Back, parentEntry, returnEventArgs) : 3959NavigationMode.New, null, returnEventArgs); 4302internal NavigateInfo(Uri source, NavigationMode navigationMode) 4308internal NavigateInfo(Uri source, NavigationMode navigationMode, JournalEntry journalEntry) 4320internal NavigationMode NavigationMode 4344return (_navigationMode == NavigationMode.New ^ _journalEntry != null) 4345|| _navigationMode == NavigationMode.Refresh; 4353private NavigationMode _navigationMode = NavigationMode.New; 4368internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source, NavigationMode navigationMode, JournalEntry journalEntry, object returnEventArgs) 4394internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc) 4470NavigationMode _navigationMode = NavigationMode.New;