81 references to NavigationMode
PresentationFramework (81)
MS\Internal\AppModel\Journaling.cs (9)
227internal override bool Navigate(INavigator navigator, NavigationMode navMode) 229Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 456internal override bool Navigate(INavigator navigator, NavigationMode navMode) 458Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 559internal override bool Navigate(INavigator navigator, NavigationMode navMode) 561Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward);
MS\Internal\AppModel\JournalNavigationScope.cs (1)
315NavigationMode mode = Journal.GetNavigationMode(entry);
MS\Internal\Controls\WebBrowserEvent.cs (1)
94null, 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)
1578NavigatingCancelEventArgs e = new NavigatingCancelEventArgs(relativeUri, null, null, null, NavigationMode.New, null, null, true);
System\Windows\Controls\Frame.cs (1)
1261state.JournalEntry.Navigate(this, NavigationMode.Back);
System\Windows\Navigation\Journal.cs (3)
399internal NavigationMode GetNavigationMode(JournalEntry entry) 409return NavigationMode.Back; 413return NavigationMode.Forward;
System\Windows\Navigation\JournalEntry.cs (4)
51public abstract void Replay(NavigationService navigationService, NavigationMode mode); 301internal virtual bool Navigate(INavigator navigator, NavigationMode navMode) 303Debug.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)
252NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 277if (navMode == NavigationMode.Back || navMode == NavigationMode.Forward || 281Debug.Assert(navMode != NavigationMode.Refresh); // because of !IsSameUri() above 431(navInfo.NavigationMode == NavigationMode.Back || navInfo.NavigationMode == NavigationMode.Forward); 894(finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.Back || 895!finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode == NavigationMode.New)); 942if ((navInfo == null || navInfo.NavigationMode == NavigationMode.New) 1024UpdateJournal(NavigationMode.New, JournalReason.NewContentNavigation, null); 1026else if (navInfo.NavigationMode != NavigationMode.Refresh) 1132NavigationMode navMode = navInfo == null ? NavigationMode.New : navInfo.NavigationMode; 1164Debug.Assert(navMode == NavigationMode.Refresh, 1190if (navMode != NavigationMode.Refresh) 1199Debug.Assert(navMode == NavigationMode.Back || navMode == NavigationMode.Forward); 1434JournalEntry je = UpdateJournal(NavigationMode.New, JournalReason.AddBackEntry, null); 1527navInfo != null ? navInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1564if ((navInfo != null && navInfo.NavigationMode == NavigationMode.Refresh)) 1646navigateInfo != null ? navigateInfo.NavigationMode.ToString() : NavigationMode.New.ToString(), 1677if (object.ReferenceEquals(root, _bp) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh)) 1988Navigate(_currentSource, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 1995Navigate(_bp, new NavigateInfo(_currentSource, NavigationMode.Refresh)); 2047navigateInfo.NavigationMode == NavigationMode.New) 2069navigateInfo == null ? NavigationMode.New : navigateInfo.NavigationMode, 2118navigateInfo != null ? navigateInfo.NavigationMode : NavigationMode.New, 2653internal void DoNavigate(Uri source, NavigationMode f, Object navState) 2792bool isRefresh = navInfo == null ? false : navInfo.NavigationMode == NavigationMode.Refresh; 3061internal void DoNavigate(Object bp, NavigationMode navFlags, Object navState) 3076Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp, _bp), 3100NavigationMode navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry) 3102Debug.Assert(navigationMode == NavigationMode.New || 3103navigationMode == NavigationMode.Back || 3104navigationMode == NavigationMode.Forward, "The journal should not be updated on Refresh."); 3108^ (navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward)); 3123if ((navigationMode == NavigationMode.Back || navigationMode == NavigationMode.Forward) 3151if (navigationMode == NavigationMode.New && pfBase.Content == null) 3160if (navigationMode == NavigationMode.New) 3934new NavigateInfo(parentEntry.Source, NavigationMode.Back, parentEntry) : 3935new NavigateInfo(parentEntry.Source, NavigationMode.New); 3946NavigationMode.Back, parentEntry, returnEventArgs) : 3948NavigationMode.New, null, returnEventArgs); 4291internal NavigateInfo(Uri source, NavigationMode navigationMode) 4297internal NavigateInfo(Uri source, NavigationMode navigationMode, JournalEntry journalEntry) 4309internal NavigationMode NavigationMode 4333return (_navigationMode == NavigationMode.New ^ _journalEntry != null) 4334|| _navigationMode == NavigationMode.Refresh; 4342private NavigationMode _navigationMode = NavigationMode.New; 4357internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source, NavigationMode navigationMode, JournalEntry journalEntry, object returnEventArgs) 4383internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc) 4459NavigationMode _navigationMode = NavigationMode.New;