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