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)
1730public static readonly RoutedEvent UnloadedEvent = FrameworkElement.UnloadedEvent.AddOwner( typeof(FrameworkContentElement)); 1739AddHandler(FrameworkElement.UnloadedEvent, value, false); 1743RemoveHandler(FrameworkElement.UnloadedEvent, value);
System\Windows\FrameworkElement.cs (4)
5737if (routedEvent == LoadedEvent || routedEvent == UnloadedEvent) 5754if (routedEvent != LoadedEvent && routedEvent != UnloadedEvent) 5784AddHandler(UnloadedEvent, value, false); 5788RemoveHandler(UnloadedEvent, value);
System\Windows\FrameworkElementFactory.cs (3)
326||(routedEvent == FrameworkElement.UnloadedEvent)) 357||(routedEvent == FrameworkElement.UnloadedEvent)) 360&&!_eventHandlersStore.Contains(FrameworkElement.UnloadedEvent))
System\Windows\Generated\FrameworkElement.cs (1)
556if (EventHandlersStore.Contains(LoadedEvent) || EventHandlersStore.Contains(UnloadedEvent))
System\Windows\Style.cs (1)
682if (eventSetter.Event == FrameworkElement.LoadedEvent || eventSetter.Event == FrameworkElement.UnloadedEvent)
System\Windows\StyleHelper.cs (2)
1159||(eventTrigger.RoutedEvent == FrameworkElement.UnloadedEvent)) 1195eventTrigger.RoutedEvent == FrameworkElement.UnloadedEvent )
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
78EventManager.RegisterClassHandler(ownerType, UnloadedEvent, new RoutedEventHandler(OnUnloaded));