81 references to NavigationMode
PresentationFramework (81)
MS\Internal\AppModel\Journaling.cs (9)
222
internal override bool Navigate(INavigator navigator,
NavigationMode
navMode)
224
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
451
internal override bool Navigate(INavigator navigator,
NavigationMode
navMode)
453
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
554
internal override bool Navigate(INavigator navigator,
NavigationMode
navMode)
556
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)
89
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)
1552
NavigatingCancelEventArgs e = new NavigatingCancelEventArgs(relativeUri, null, null, null,
NavigationMode
.New, null, null, true);
System\Windows\Controls\Frame.cs (1)
1253
state.JournalEntry?.Navigate(this,
NavigationMode
.Back);
System\Windows\Navigation\Journal.cs (3)
396
internal
NavigationMode
GetNavigationMode(JournalEntry entry)
406
return
NavigationMode
.Back;
410
return
NavigationMode
.Forward;
System\Windows\Navigation\JournalEntry.cs (4)
46
public abstract void Replay(NavigationService navigationService,
NavigationMode
mode);
296
internal virtual bool Navigate(INavigator navigator,
NavigationMode
navMode)
298
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)
247
NavigationMode
navMode = navInfo == null ?
NavigationMode
.New : navInfo.NavigationMode;
272
if (navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward ||
276
Debug.Assert(navMode !=
NavigationMode
.Refresh); // because of !IsSameUri() above
423
(navInfo.NavigationMode ==
NavigationMode
.Back || navInfo.NavigationMode ==
NavigationMode
.Forward);
874
(finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode ==
NavigationMode
.Back ||
875
!finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode ==
NavigationMode
.New));
919
if ((navInfo == null || navInfo.NavigationMode ==
NavigationMode
.New)
1001
UpdateJournal(
NavigationMode
.New, JournalReason.NewContentNavigation, null);
1003
else if (navInfo.NavigationMode !=
NavigationMode
.Refresh)
1103
NavigationMode
navMode = navInfo == null ?
NavigationMode
.New : navInfo.NavigationMode;
1135
Debug.Assert(navMode ==
NavigationMode
.Refresh,
1161
if (navMode !=
NavigationMode
.Refresh)
1170
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
1405
JournalEntry je = UpdateJournal(
NavigationMode
.New, JournalReason.AddBackEntry, null);
1497
navInfo != null ? navInfo.NavigationMode.ToString() :
NavigationMode
.New.ToString(),
1534
if ((navInfo != null && navInfo.NavigationMode ==
NavigationMode
.Refresh))
1610
navigateInfo != null ? navigateInfo.NavigationMode.ToString() :
NavigationMode
.New.ToString(),
1641
if (object.ReferenceEquals(root, _bp) && (navigateInfo == null || navigateInfo.NavigationMode !=
NavigationMode
.Refresh))
1945
Navigate(_currentSource, new NavigateInfo(_currentSource,
NavigationMode
.Refresh));
1952
Navigate(_bp, new NavigateInfo(_currentSource,
NavigationMode
.Refresh));
2004
navigateInfo.NavigationMode ==
NavigationMode
.New)
2026
navigateInfo == null ?
NavigationMode
.New : navigateInfo.NavigationMode,
2072
navigateInfo != null ? navigateInfo.NavigationMode :
NavigationMode
.New,
2600
internal void DoNavigate(Uri source,
NavigationMode
f, Object navState)
2739
bool isRefresh = navInfo == null ? false : navInfo.NavigationMode ==
NavigationMode
.Refresh;
3008
internal void DoNavigate(Object bp,
NavigationMode
navFlags, Object navState)
3023
Invariant.Assert(navFlags !=
NavigationMode
.Refresh ^ object.ReferenceEquals(bp, _bp),
3047
NavigationMode
navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry)
3049
Debug.Assert(navigationMode ==
NavigationMode
.New ||
3050
navigationMode ==
NavigationMode
.Back ||
3051
navigationMode ==
NavigationMode
.Forward, "The journal should not be updated on Refresh.");
3055
^ (navigationMode ==
NavigationMode
.Back || navigationMode ==
NavigationMode
.Forward));
3070
if ((navigationMode ==
NavigationMode
.Back || navigationMode ==
NavigationMode
.Forward)
3098
if (navigationMode ==
NavigationMode
.New && pfBase.Content == null)
3107
if (navigationMode ==
NavigationMode
.New)
3875
new NavigateInfo(parentEntry.Source,
NavigationMode
.Back, parentEntry) :
3876
new NavigateInfo(parentEntry.Source,
NavigationMode
.New);
3887
NavigationMode
.Back, parentEntry, returnEventArgs) :
3889
NavigationMode
.New, null, returnEventArgs);
4232
internal NavigateInfo(Uri source,
NavigationMode
navigationMode)
4238
internal NavigateInfo(Uri source,
NavigationMode
navigationMode, JournalEntry journalEntry)
4250
internal
NavigationMode
NavigationMode
4274
return (_navigationMode ==
NavigationMode
.New ^ _journalEntry != null)
4275
|| _navigationMode ==
NavigationMode
.Refresh;
4283
private
NavigationMode
_navigationMode =
NavigationMode
.New;
4298
internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source,
NavigationMode
navigationMode, JournalEntry journalEntry, object returnEventArgs)
4324
internal NavigateQueueItem(Uri source, object content,
NavigationMode
mode, Object navState, NavigationService nc)
4400
NavigationMode
_navigationMode =
NavigationMode
.New;