FrameworkElement.ContextMenuClosingEvent 欄位

定義

識別 ContextMenuClosing 路由事件。

public: static initonly System::Windows::RoutedEvent ^ ContextMenuClosingEvent;
public static readonly System.Windows.RoutedEvent ContextMenuClosingEvent;
 staticval mutable ContextMenuClosingEvent : System.Windows.RoutedEvent
Public Shared ReadOnly ContextMenuClosingEvent As RoutedEvent 

欄位值

備註

註冊路由事件時,會建立路由事件識別項。 這些識別項包含用於加入事件擁有者的識別名稱、擁有者類型、處理常式類型、路由策略和公用程式方法。 您可以使用這些識別項來加入類別處理常式。

如需註冊路由事件的詳細資訊,請參閱 RegisterRoutedEvent。 如需使用路由事件識別項來加入類別處理常式的詳細資訊,請參閱 RegisterClassHandler

適用於