FrameworkContentElement.Unloaded 事件

定义

当从已加载元素的元素树中移除元素时发生。Occurs when the element is removed from an element tree of loaded elements.

public:
 event System::Windows::RoutedEventHandler ^ Unloaded;
public event System.Windows.RoutedEventHandler Unloaded;
member this.Unloaded : System.Windows.RoutedEventHandler 
Public Custom Event Unloaded As RoutedEventHandler 

事件类型

RoutedEventHandler

注解

直接路由事件不遵循路由,它们只能在引发它们的同一元素内进行处理。Direct routed events do not follow a route, they are only handled within the same element on which they are raised. 直接路由事件支持其他路由事件行为:它们支持可访问的处理程序集合,并且可用作 EventTrigger 样式中的。Direct routed events do support other routed event behavior: they support an accessible handlers collection, and can be used as an EventTrigger in a style.

路由事件信息Routed Event Information

标识符字段Identifier field UnloadedEvent
路由策略Routing strategy 直接Direct
委托Delegate RoutedEventHandler

适用于