83 references to NavigationMode
PresentationFramework (83)
src\Framework\MS\Internal\AppModel\Journaling.cs (9)
237
internal override bool Navigate(INavigator navigator,
NavigationMode
navMode)
239
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
473
internal override bool Navigate(INavigator navigator,
NavigationMode
navMode)
475
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
585
internal override bool Navigate(INavigator navigator,
NavigationMode
navMode)
587
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (1)
341
NavigationMode
mode = Journal.GetNavigationMode(entry);
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (1)
150
null, null, null,
NavigationMode
.New, null, null, true);
src\Framework\MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
76
public override void Replay(NavigationService navigationService,
NavigationMode
mode)
src\Framework\System\Windows\Application.cs (1)
1662
NavigatingCancelEventArgs e = new NavigatingCancelEventArgs(relativeUri, null, null, null,
NavigationMode
.New, null, null, true);
src\Framework\System\Windows\Controls\Frame.cs (1)
1293
state.JournalEntry.Navigate(this,
NavigationMode
.Back);
src\Framework\System\Windows\Navigation\Journal.cs (3)
421
internal
NavigationMode
GetNavigationMode(JournalEntry entry)
431
return
NavigationMode
.Back;
435
return
NavigationMode
.Forward;
src\Framework\System\Windows\Navigation\JournalEntry.cs (4)
69
public abstract void Replay(NavigationService navigationService,
NavigationMode
mode);
339
internal virtual bool Navigate(INavigator navigator,
NavigationMode
navMode)
341
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
src\Framework\System\Windows\Navigation\NavigatingCancelEventArgs.cs (3)
40
Object extraData,
NavigationMode
navigationMode,
115
public
NavigationMode
NavigationMode
169
private
NavigationMode
_navigationMode;
src\Framework\System\Windows\Navigation\NavigationService.cs (59)
293
NavigationMode
navMode = navInfo == null ?
NavigationMode
.New : navInfo.NavigationMode;
318
if (navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward ||
322
Debug.Assert(navMode !=
NavigationMode
.Refresh); // because of !IsSameUri() above
501
(navInfo.NavigationMode ==
NavigationMode
.Back || navInfo.NavigationMode ==
NavigationMode
.Forward);
567
(navigateInfo == null || navigateInfo.NavigationMode !=
NavigationMode
.Refresh) &&
1031
(finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode ==
NavigationMode
.Back ||
1032
!finishingChildPageFunction.RemoveFromJournal && navInfo.NavigationMode ==
NavigationMode
.New));
1079
if ((navInfo == null || navInfo.NavigationMode ==
NavigationMode
.New)
1175
UpdateJournal(
NavigationMode
.New, JournalReason.NewContentNavigation, null);
1177
else if (navInfo.NavigationMode !=
NavigationMode
.Refresh)
1295
NavigationMode
navMode = navInfo == null ?
NavigationMode
.New : navInfo.NavigationMode;
1327
Debug.Assert(navMode ==
NavigationMode
.Refresh,
1353
if (navMode !=
NavigationMode
.Refresh)
1362
Debug.Assert(navMode ==
NavigationMode
.Back || navMode ==
NavigationMode
.Forward);
1600
JournalEntry je = UpdateJournal(
NavigationMode
.New, JournalReason.AddBackEntry, null);
1693
navInfo != null ? navInfo.NavigationMode.ToString() :
NavigationMode
.New.ToString(),
1730
if ((navInfo != null && navInfo.NavigationMode ==
NavigationMode
.Refresh))
1827
navigateInfo != null ? navigateInfo.NavigationMode.ToString() :
NavigationMode
.New.ToString(),
1858
if (object.ReferenceEquals(root, _bp) && (navigateInfo == null || navigateInfo.NavigationMode !=
NavigationMode
.Refresh))
2169
Navigate(_currentSource, new NavigateInfo(_currentSource,
NavigationMode
.Refresh));
2176
Navigate(_bp, new NavigateInfo(_currentSource,
NavigationMode
.Refresh));
2228
navigateInfo.NavigationMode ==
NavigationMode
.New)
2250
navigateInfo == null ?
NavigationMode
.New : navigateInfo.NavigationMode,
2299
navigateInfo != null ? navigateInfo.NavigationMode :
NavigationMode
.New,
2845
internal void DoNavigate(Uri source,
NavigationMode
f, Object navState)
3004
bool isRefresh = navInfo == null ? false : navInfo.NavigationMode ==
NavigationMode
.Refresh;
3299
internal void DoNavigate(Object bp,
NavigationMode
navFlags, Object navState)
3314
Invariant.Assert(navFlags !=
NavigationMode
.Refresh ^ object.ReferenceEquals(bp, _bp),
3343
NavigationMode
navigationMode, JournalReason journalReason, JournalEntry destinationJournalEntry)
3345
Debug.Assert(navigationMode ==
NavigationMode
.New ||
3346
navigationMode ==
NavigationMode
.Back ||
3347
navigationMode ==
NavigationMode
.Forward, "The journal should not be updated on Refresh.");
3351
^ (navigationMode ==
NavigationMode
.Back || navigationMode ==
NavigationMode
.Forward));
3366
if ((navigationMode ==
NavigationMode
.Back || navigationMode ==
NavigationMode
.Forward)
3395
if (navigationMode ==
NavigationMode
.New && pfBase.Content == null)
3405
CallUpdateTravelLog(navigationMode ==
NavigationMode
.New);
3408
if (navigationMode ==
NavigationMode
.New)
4219
new NavigateInfo(parentEntry.Source,
NavigationMode
.Back, parentEntry) :
4220
new NavigateInfo(parentEntry.Source,
NavigationMode
.New);
4231
NavigationMode
.Back, parentEntry, returnEventArgs) :
4233
NavigationMode
.New, null, returnEventArgs);
4576
internal NavigateInfo(Uri source,
NavigationMode
navigationMode)
4582
internal NavigateInfo(Uri source,
NavigationMode
navigationMode, JournalEntry journalEntry)
4594
internal
NavigationMode
NavigationMode
4618
return (_navigationMode ==
NavigationMode
.New ^ _journalEntry != null)
4619
|| _navigationMode ==
NavigationMode
.Refresh;
4627
private
NavigationMode
_navigationMode =
NavigationMode
.New;
4642
internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source,
NavigationMode
navigationMode, JournalEntry journalEntry, object returnEventArgs)
4668
internal NavigateQueueItem(Uri source, object content,
NavigationMode
mode, Object navState, NavigationService nc)
4744
NavigationMode
_navigationMode =
NavigationMode
.New;