3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1141
_bp
= null;
1187
_bp
= bp;
3562
_bp
= null;
40 references to _bp
PresentationFramework (40)
System\Windows\Navigation\NavigationService.cs (40)
237
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
337
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
347
if (
_bp
!= null)
352
FrameworkElement fe =
_bp
as FrameworkElement;
369
IInputElement elem =
_bp
as IInputElement;
380
BringIntoView(
_bp
as DependencyObject);
427
if (_navigatorHostImpl != null && !(
_bp
is Visual))
441
Debug.Assert(!(
_bp
is Visual));
705
DependencyObject o =
_bp
as DependencyObject;
924
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
926
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1025
bool canDispose = UnhookOldTree(
_bp
);
1039
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1132
if (object.ReferenceEquals(bp,
_bp
))
1190
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1378
return
_bp
;
1400
if (
_bp
== null)
1419
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1563
if (source == null &&
_bp
== null)
1640
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
1946
else if (
_bp
!= null)
1951
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2036
this.Application.FireNavigating(e,
_bp
== null);
2247
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2254
FrameworkElement fe =
_bp
as FrameworkElement;
2283
if (navigatedToNewContent && IsPageFunction(
_bp
))
2538
Debug.Assert(sender ==
_bp
);
2539
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2546
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3022
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3089
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3127
if (
_bp
== null)
3141
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3205
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3218
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3261
DependencyObject dependencyObject =
_bp
as DependencyObject;
3318
journalEntry.SaveState(
_bp
);
3628
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3836
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))