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