3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1166
_bp
= null;
1212
_bp
= bp;
3605
_bp
= null;
40 references to _bp
PresentationFramework (40)
System\Windows\Navigation\NavigationService.cs (40)
238
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
338
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
348
if (
_bp
!= null)
353
FrameworkElement fe =
_bp
as FrameworkElement;
370
IInputElement elem =
_bp
as IInputElement;
381
BringIntoView(
_bp
as DependencyObject);
431
if (_navigatorHostImpl != null && !(
_bp
is Visual))
445
Debug.Assert(!(
_bp
is Visual));
721
DependencyObject o =
_bp
as DependencyObject;
943
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
945
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1044
bool canDispose = UnhookOldTree(
_bp
);
1058
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1157
if (object.ReferenceEquals(bp,
_bp
))
1215
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1403
return
_bp
;
1425
if (
_bp
== null)
1444
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1588
if (source == null &&
_bp
== null)
1665
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
1974
else if (
_bp
!= null)
1979
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2064
this.Application.FireNavigating(e,
_bp
== null);
2284
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2291
FrameworkElement fe =
_bp
as FrameworkElement;
2320
if (navigatedToNewContent && IsPageFunction(
_bp
))
2575
Debug.Assert(sender ==
_bp
);
2576
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2583
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3059
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3126
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3164
if (
_bp
== null)
3178
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3242
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3255
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3298
DependencyObject dependencyObject =
_bp
as DependencyObject;
3355
journalEntry.SaveState(
_bp
);
3671
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3879
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))