3 writes to _bp
PresentationFramework (3)
src\Framework\System\Windows\Navigation\NavigationService.cs (3)
1334
_bp
= null;
1380
_bp
= bp;
3908
_bp
= null;
40 references to _bp
PresentationFramework (40)
src\Framework\System\Windows\Navigation\NavigationService.cs (40)
284
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
384
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
394
if (
_bp
!= null)
399
FrameworkElement fe =
_bp
as FrameworkElement;
416
IInputElement elem =
_bp
as IInputElement;
427
BringIntoView(
_bp
as DependencyObject);
506
if (_navigatorHostImpl != null && !(
_bp
is Visual))
520
Debug.Assert(!(
_bp
is Visual));
863
DependencyObject o =
_bp
as DependencyObject;
1085
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
1087
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1201
bool canDispose = UnhookOldTree(
_bp
);
1215
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1325
if (object.ReferenceEquals(bp,
_bp
))
1383
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1574
return
_bp
;
1596
if (
_bp
== null)
1615
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1760
if (source == null &&
_bp
== null)
1858
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
2171
else if (
_bp
!= null)
2176
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2261
this.Application.FireNavigating(e,
_bp
== null);
2493
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2500
FrameworkElement fe =
_bp
as FrameworkElement;
2529
if (navigatedToNewContent && IsPageFunction(
_bp
))
2784
Debug.Assert(sender ==
_bp
);
2785
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2792
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3314
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3387
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3428
if (
_bp
== null)
3442
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3506
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3519
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3562
DependencyObject dependencyObject =
_bp
as DependencyObject;
3619
journalEntry.SaveState(
_bp
);
3972
PageFunctionBase ps = (PageFunctionBase)
_bp
;
4181
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))