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