FrameworkContentElement.ContextMenuClosingEvent 欄位

定義

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)。Event identifier objects are created when routed events are registered (see RegisterRoutedEvent) and can then be used to add class handlers (see RegisterClassHandler). 識別碼物件包含識別名稱、擁有者類型、處理常式類型、路由策略,以及用於加入事件擁有者的公用程式方法。Identifier objects contain an identifying name, owner type, handler type, routing strategy, and a utility method for adding owners for the event.

適用於