19 references to UnloadedEvent
PresentationFramework (19)
src\Framework\System\Windows\BroadcastEventHelper.cs (5)
225
BroadcastEvent(rootDO, FrameworkElement.
UnloadedEvent
);
304
else if (fe != root && routedEvent == FrameworkElement.
UnloadedEvent
&& fe.LoadedPending != null)
322
else if (routedEvent == FrameworkElement.
UnloadedEvent
&& fe.UnloadedPending != null)
365
else if (fce != root && routedEvent == FrameworkElement.
UnloadedEvent
&& fce.LoadedPending != null)
383
else if (routedEvent == FrameworkElement.
UnloadedEvent
&& fce.UnloadedPending != null)
src\Framework\System\Windows\FrameworkContentElement.cs (3)
1758
public static readonly RoutedEvent UnloadedEvent = FrameworkElement.
UnloadedEvent
.AddOwner( typeof(FrameworkContentElement));
1767
AddHandler(FrameworkElement.
UnloadedEvent
, value, false);
1771
RemoveHandler(FrameworkElement.
UnloadedEvent
, value);
src\Framework\System\Windows\FrameworkElement.cs (4)
5741
if (routedEvent == LoadedEvent || routedEvent ==
UnloadedEvent
)
5758
if (routedEvent != LoadedEvent && routedEvent !=
UnloadedEvent
)
5788
AddHandler(
UnloadedEvent
, value, false);
5792
RemoveHandler(
UnloadedEvent
, value);
src\Framework\System\Windows\FrameworkElementFactory.cs (3)
354
||(routedEvent == FrameworkElement.
UnloadedEvent
))
392
||(routedEvent == FrameworkElement.
UnloadedEvent
))
395
&&!_eventHandlersStore.Contains(FrameworkElement.
UnloadedEvent
))
src\Framework\System\Windows\Generated\FrameworkElement.cs (1)
573
if (EventHandlersStore.Contains(LoadedEvent) || EventHandlersStore.Contains(
UnloadedEvent
))
src\Framework\System\Windows\Style.cs (1)
705
if (eventSetter.Event == FrameworkElement.LoadedEvent || eventSetter.Event == FrameworkElement.
UnloadedEvent
)
src\Framework\System\Windows\StyleHelper.cs (2)
1163
||(eventTrigger.RoutedEvent == FrameworkElement.
UnloadedEvent
))
1199
eventTrigger.RoutedEvent == FrameworkElement.
UnloadedEvent
)