20 references to UnloadedEvent
PresentationFramework (19)
System\Windows\BroadcastEventHelper.cs (5)
229
BroadcastEvent(rootDO, FrameworkElement.
UnloadedEvent
);
306
else if (fe != root && routedEvent == FrameworkElement.
UnloadedEvent
&& fe.LoadedPending != null)
324
else if (routedEvent == FrameworkElement.
UnloadedEvent
&& fe.UnloadedPending != null)
367
else if (fce != root && routedEvent == FrameworkElement.
UnloadedEvent
&& fce.LoadedPending != null)
385
else if (routedEvent == FrameworkElement.
UnloadedEvent
&& fce.UnloadedPending != null)
System\Windows\FrameworkContentElement.cs (3)
1747
public static readonly RoutedEvent UnloadedEvent = FrameworkElement.
UnloadedEvent
.AddOwner( typeof(FrameworkContentElement));
1756
AddHandler(FrameworkElement.
UnloadedEvent
, value, false);
1760
RemoveHandler(FrameworkElement.
UnloadedEvent
, value);
System\Windows\FrameworkElement.cs (4)
5743
if (routedEvent == LoadedEvent || routedEvent ==
UnloadedEvent
)
5760
if (routedEvent != LoadedEvent && routedEvent !=
UnloadedEvent
)
5790
AddHandler(
UnloadedEvent
, value, false);
5794
RemoveHandler(
UnloadedEvent
, value);
System\Windows\FrameworkElementFactory.cs (3)
338
||(routedEvent == FrameworkElement.
UnloadedEvent
))
369
||(routedEvent == FrameworkElement.
UnloadedEvent
))
372
&&!_eventHandlersStore.Contains(FrameworkElement.
UnloadedEvent
))
System\Windows\Generated\FrameworkElement.cs (1)
562
if (EventHandlersStore.Contains(LoadedEvent) || EventHandlersStore.Contains(
UnloadedEvent
))
System\Windows\Style.cs (1)
699
if (eventSetter.Event == FrameworkElement.LoadedEvent || eventSetter.Event == FrameworkElement.
UnloadedEvent
)
System\Windows\StyleHelper.cs (2)
1163
||(eventTrigger.RoutedEvent == FrameworkElement.
UnloadedEvent
))
1199
eventTrigger.RoutedEvent == FrameworkElement.
UnloadedEvent
)
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
80
EventManager.RegisterClassHandler(ownerType,
UnloadedEvent
, new RoutedEventHandler(OnUnloaded));