20 references to UnloadedEvent
PresentationFramework (19)
System\Windows\BroadcastEventHelper.cs (5)
223
BroadcastEvent(rootDO, FrameworkElement.
UnloadedEvent
);
300
else if (fe != root && routedEvent == FrameworkElement.
UnloadedEvent
&& fe.LoadedPending != null)
318
else if (routedEvent == FrameworkElement.
UnloadedEvent
&& fe.UnloadedPending != null)
361
else if (fce != root && routedEvent == FrameworkElement.
UnloadedEvent
&& fce.LoadedPending != null)
379
else if (routedEvent == FrameworkElement.
UnloadedEvent
&& fce.UnloadedPending != null)
System\Windows\FrameworkContentElement.cs (3)
1735
public static readonly RoutedEvent UnloadedEvent = FrameworkElement.
UnloadedEvent
.AddOwner( typeof(FrameworkContentElement));
1744
AddHandler(FrameworkElement.
UnloadedEvent
, value, false);
1748
RemoveHandler(FrameworkElement.
UnloadedEvent
, value);
System\Windows\FrameworkElement.cs (4)
5732
if (routedEvent == LoadedEvent || routedEvent ==
UnloadedEvent
)
5749
if (routedEvent != LoadedEvent && routedEvent !=
UnloadedEvent
)
5779
AddHandler(
UnloadedEvent
, value, false);
5783
RemoveHandler(
UnloadedEvent
, value);
System\Windows\FrameworkElementFactory.cs (3)
330
||(routedEvent == FrameworkElement.
UnloadedEvent
))
361
||(routedEvent == FrameworkElement.
UnloadedEvent
))
364
&&!_eventHandlersStore.Contains(FrameworkElement.
UnloadedEvent
))
System\Windows\Generated\FrameworkElement.cs (1)
556
if (EventHandlersStore.Contains(LoadedEvent) || EventHandlersStore.Contains(
UnloadedEvent
))
System\Windows\Style.cs (1)
689
if (eventSetter.Event == FrameworkElement.LoadedEvent || eventSetter.Event == FrameworkElement.
UnloadedEvent
)
System\Windows\StyleHelper.cs (2)
1157
||(eventTrigger.RoutedEvent == FrameworkElement.
UnloadedEvent
))
1193
eventTrigger.RoutedEvent == FrameworkElement.
UnloadedEvent
)
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
78
EventManager.RegisterClassHandler(ownerType,
UnloadedEvent
, new RoutedEventHandler(OnUnloaded));