3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1138
_bp
= null;
1184
_bp
= bp;
3559
_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;
921
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
923
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1022
bool canDispose = UnhookOldTree(
_bp
);
1036
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1129
if (object.ReferenceEquals(bp,
_bp
))
1187
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1375
return
_bp
;
1397
if (
_bp
== null)
1416
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1560
if (source == null &&
_bp
== null)
1637
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
1943
else if (
_bp
!= null)
1948
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2033
this.Application.FireNavigating(e,
_bp
== null);
2244
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2251
FrameworkElement fe =
_bp
as FrameworkElement;
2280
if (navigatedToNewContent && IsPageFunction(
_bp
))
2535
Debug.Assert(sender ==
_bp
);
2536
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2543
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3019
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3086
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3124
if (
_bp
== null)
3138
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3202
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3215
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3258
DependencyObject dependencyObject =
_bp
as DependencyObject;
3315
journalEntry.SaveState(
_bp
);
3625
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3833
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))