3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1234
_bp
= null;
1280
_bp
= bp;
3640
_bp
= null;
40 references to _bp
PresentationFramework (40)
System\Windows\Navigation\NavigationService.cs (40)
333
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
433
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
443
if (
_bp
!= null)
448
FrameworkElement fe =
_bp
as FrameworkElement;
465
IInputElement elem =
_bp
as IInputElement;
476
BringIntoView(
_bp
as DependencyObject);
523
if (_navigatorHostImpl != null && !(
_bp
is Visual))
537
Debug.Assert(!(
_bp
is Visual));
801
DependencyObject o =
_bp
as DependencyObject;
1017
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
1019
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1118
bool canDispose = UnhookOldTree(
_bp
);
1132
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1225
if (object.ReferenceEquals(bp,
_bp
))
1283
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1471
return
_bp
;
1493
if (
_bp
== null)
1512
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1656
if (source == null &&
_bp
== null)
1733
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
2039
else if (
_bp
!= null)
2044
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2129
this.Application.FireNavigating(e,
_bp
== null);
2340
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2347
FrameworkElement fe =
_bp
as FrameworkElement;
2373
if (navigatedToNewContent && IsPageFunction(
_bp
))
2625
Debug.Assert(sender ==
_bp
);
2626
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2633
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3106
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3173
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3211
if (
_bp
== null)
3225
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3289
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3302
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3345
DependencyObject dependencyObject =
_bp
as DependencyObject;
3402
journalEntry.SaveState(
_bp
);
3706
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3914
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))