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