3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1180
_bp
= null;
1226
_bp
= bp;
3631
_bp
= null;
40 references to _bp
PresentationFramework (40)
System\Windows\Navigation\NavigationService.cs (40)
252
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
352
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
362
if (
_bp
!= null)
367
FrameworkElement fe =
_bp
as FrameworkElement;
384
IInputElement elem =
_bp
as IInputElement;
395
BringIntoView(
_bp
as DependencyObject);
445
if (_navigatorHostImpl != null && !(
_bp
is Visual))
459
Debug.Assert(!(
_bp
is Visual));
735
DependencyObject o =
_bp
as DependencyObject;
957
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
959
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1058
bool canDispose = UnhookOldTree(
_bp
);
1072
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1171
if (object.ReferenceEquals(bp,
_bp
))
1229
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1417
return
_bp
;
1439
if (
_bp
== null)
1458
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1603
if (source == null &&
_bp
== null)
1686
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
1999
else if (
_bp
!= null)
2004
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2089
this.Application.FireNavigating(e,
_bp
== null);
2310
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2317
FrameworkElement fe =
_bp
as FrameworkElement;
2346
if (navigatedToNewContent && IsPageFunction(
_bp
))
2601
Debug.Assert(sender ==
_bp
);
2602
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2609
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3085
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3152
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3190
if (
_bp
== null)
3204
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3268
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3281
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3324
DependencyObject dependencyObject =
_bp
as DependencyObject;
3381
journalEntry.SaveState(
_bp
);
3697
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3905
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))