3 writes to _bp
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
1142
_bp
= null;
1188
_bp
= bp;
3563
_bp
= null;
40 references to _bp
PresentationFramework (40)
System\Windows\Navigation\NavigationService.cs (40)
238
Debug.Assert(
_bp
!= null, "NavigationService should not handle a nav from a hyperlink thats not in its hosted tree");
338
targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)
_bp
, elementId) as DependencyObject;
348
if (
_bp
!= null)
353
FrameworkElement fe =
_bp
as FrameworkElement;
370
IInputElement elem =
_bp
as IInputElement;
381
BringIntoView(
_bp
as DependencyObject);
428
if (_navigatorHostImpl != null && !(
_bp
is Visual))
442
Debug.Assert(!(
_bp
is Visual));
706
DependencyObject o =
_bp
as DependencyObject;
925
if (!pf._Resume && pf.ParentPageFunctionId == Guid.Empty &&
_bp
is PageFunctionBase)
927
pf.ParentPageFunctionId = ((PageFunctionBase)
_bp
).PageFunctionId;
1026
bool canDispose = UnhookOldTree(
_bp
);
1040
DisposeTreeQueueItem disposeItem = new DisposeTreeQueueItem(
_bp
);
1133
if (object.ReferenceEquals(bp,
_bp
))
1191
BPReady(this, new BPReadyEventArgs(
_bp
, bpu));
1379
return
_bp
;
1401
if (
_bp
== null)
1420
_bp
!= null ?
_bp
.GetType().ToString() : "null"));
1564
if (source == null &&
_bp
== null)
1641
if (object.ReferenceEquals(root,
_bp
) && (navigateInfo == null || navigateInfo.NavigationMode != NavigationMode.Refresh))
1947
else if (
_bp
!= null)
1952
Navigate(
_bp
, new NavigateInfo(_currentSource, NavigationMode.Refresh));
2037
this.Application.FireNavigating(e,
_bp
== null);
2248
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2255
FrameworkElement fe =
_bp
as FrameworkElement;
2284
if (navigatedToNewContent && IsPageFunction(
_bp
))
2539
Debug.Assert(sender ==
_bp
);
2540
FrameworkContentElement fce =
_bp
as FrameworkContentElement;
2547
((FrameworkElement)
_bp
).Loaded -= OnContentLoaded;
3023
Invariant.Assert(navFlags != NavigationMode.Refresh ^ object.ReferenceEquals(bp,
_bp
),
3090
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3128
if (
_bp
== null)
3142
PageFunctionBase pfBase =
_bp
as PageFunctionBase;
3206
journalEntry = new JournalEntryKeepAlive(_journalEntryGroupState, _currentCleanSource,
_bp
);
3219
IProvideCustomContentState pccs =
_bp
as IProvideCustomContentState;
3262
DependencyObject dependencyObject =
_bp
as DependencyObject;
3319
journalEntry.SaveState(
_bp
);
3629
PageFunctionBase ps = (PageFunctionBase)
_bp
;
3837
if (object.ReferenceEquals(
_bp
, finishingChildPageFunction))