3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1182
_bp
= null;
1228
_bp
= bp;
3633
_bp
= null;
40 references to _bp
PresentationFramework (40)
System\Windows\Navigation\NavigationService.cs (40)
254
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
354
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
364
if (
_bp
!= null)
369
FrameworkElement fe =
_bp
as FrameworkElement;
386
IInputElement elem =
_bp
as IInputElement;
397
BringIntoView(
_bp
as DependencyObject);
447
if (_navigatorHostImpl != null && !(
_bp
is Visual))
461
Debug.Assert(!(
_bp
is Visual));
737
DependencyObject o =
_bp
as DependencyObject;
959
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
961
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1060
bool canDispose = UnhookOldTree(
_bp
);
1074
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1173
if (object.ReferenceEquals(bp,
_bp
))
1231
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1419
return
_bp
;
1441
if (
_bp
== null)
1460
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1605
if (source == null &&
_bp
== null)
1688
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
2001
else if (
_bp
!= null)
2006
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2091
this.Application.FireNavigating(e,
_bp
== null);
2312
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2319
FrameworkElement fe =
_bp
as FrameworkElement;
2348
if (navigatedToNewContent && IsPageFunction(
_bp
))
2603
Debug.Assert(sender ==
_bp
);
2604
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2611
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3087
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3154
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3192
if (
_bp
== null)
3206
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3270
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3283
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3326
DependencyObject dependencyObject =
_bp
as DependencyObject;
3383
journalEntry.SaveState(
_bp
);
3699
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3907
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))