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