39 references to BroadcastEventHelper
PresentationFramework (39)
src\Framework\MS\Internal\FrameworkObject.cs (1)
493
return
BroadcastEventHelper
.IsParentLoaded(_do);
src\Framework\System\Windows\BroadcastEventHelper.cs (3)
24
DispatcherOperationCallback loadedCallback = new DispatcherOperationCallback(
BroadcastEventHelper
.BroadcastLoadedEvent);
72
DispatcherOperationCallback unloadedCallback = new DispatcherOperationCallback(
BroadcastEventHelper
.BroadcastUnloadedEvent);
188
BroadcastEventHelper
.BroadcastEvent(rootDO, FrameworkElement.LoadedEvent);
src\Framework\System\Windows\FrameworkContentElement.cs (3)
1703
return
BroadcastEventHelper
.IsParentLoaded(this);
1795
BroadcastEventHelper
.AddHasLoadedChangeHandlerFlagInAncestry(this);
1813
BroadcastEventHelper
.RemoveHasLoadedChangeHandlerFlagInAncestry(this);
src\Framework\System\Windows\FrameworkElement.cs (9)
2475
BroadcastEventHelper
.AddOrRemoveHasLoadedChangeHandlerFlag(this, oldParent, newParent);
2478
BroadcastEventHelper
.BroadcastLoadedOrUnloadedEvent(this, oldParent, newParent);
2558
BroadcastEventHelper
.AddOrRemoveHasLoadedChangeHandlerFlag(this, null, VisualTreeHelper.GetParent(e.Ancestor));
2561
BroadcastEventHelper
.BroadcastLoadedOrUnloadedEvent(this, null, VisualTreeHelper.GetParent(e.Ancestor));
2582
BroadcastEventHelper
.AddOrRemoveHasLoadedChangeHandlerFlag(this, feParent, null);
2585
BroadcastEventHelper
.BroadcastLoadedOrUnloadedEvent(this, feParent, null);
5690
return
BroadcastEventHelper
.IsParentLoaded(this);
5743
BroadcastEventHelper
.AddHasLoadedChangeHandlerFlagInAncestry(this);
5763
BroadcastEventHelper
.RemoveHasLoadedChangeHandlerFlagInAncestry(this);
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
758
BroadcastEventHelper
.AddHasLoadedChangeHandlerFlagInAncestry(treeNode);
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (9)
337
BroadcastEventHelper
.AddOrRemoveHasLoadedChangeHandlerFlag(this, oldParent, newParent);
341
BroadcastEventHelper
.BroadcastLoadedOrUnloadedEvent(this, oldParent, newParent);
588
FrameworkElementFactory fefRoot =
BroadcastEventHelper
.GetFEFTreeRoot(TemplatedParent);
710
BroadcastEventHelper
.AddLoadedCallback(this, parent);
715
BroadcastEventHelper
.RemoveUnloadedCallback(this, unloadedPending);
739
BroadcastEventHelper
.AddUnloadedCallback(this, parent);
744
BroadcastEventHelper
.RemoveLoadedCallback(this, loadedPending);
951
BroadcastEventHelper
.BroadcastLoadedSynchronously(this, IsLoaded);
965
BroadcastEventHelper
.BroadcastUnloadedSynchronously(this, IsLoaded);
src\Framework\System\Windows\Generated\FrameworkElement.cs (8)
337
BroadcastEventHelper
.AddOrRemoveHasLoadedChangeHandlerFlag(this, oldParent, newParent);
608
FrameworkElementFactory fefRoot =
BroadcastEventHelper
.GetFEFTreeRoot(TemplatedParent);
735
BroadcastEventHelper
.AddLoadedCallback(this, parent);
740
BroadcastEventHelper
.RemoveUnloadedCallback(this, unloadedPending);
769
BroadcastEventHelper
.AddUnloadedCallback(this, parent);
774
BroadcastEventHelper
.RemoveLoadedCallback(this, loadedPending);
981
BroadcastEventHelper
.BroadcastLoadedSynchronously(this, IsLoaded);
995
BroadcastEventHelper
.BroadcastUnloadedSynchronously(this, IsLoaded);
src\Framework\System\Windows\StyleHelper.cs (4)
3610
BroadcastEventHelper
.AddHasLoadedChangeHandlerFlagInAncestry(d);
3615
BroadcastEventHelper
.RemoveHasLoadedChangeHandlerFlagInAncestry(d);
3631
BroadcastEventHelper
.AddHasLoadedChangeHandlerFlagInAncestry(d);
3636
BroadcastEventHelper
.RemoveHasLoadedChangeHandlerFlagInAncestry(d);
src\Framework\System\Windows\TemplateNameScope.cs (1)
178
BroadcastEventHelper
.AddHasLoadedChangeHandlerFlagInAncestry((fe != null) ? (DependencyObject)fe : (DependencyObject)fce);