共用方式為


KeyTipService.RemovePreviewKeyTipAccessedHandler 方法

定義

移除 PreviewKeyTipAccessed 事件的路由事件處理常式。

public:
 static void RemovePreviewKeyTipAccessedHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::KeyTipAccessedEventHandler ^ handler);
public static void RemovePreviewKeyTipAccessedHandler (System.Windows.DependencyObject element, System.Windows.Controls.KeyTipAccessedEventHandler handler);
static member RemovePreviewKeyTipAccessedHandler : System.Windows.DependencyObject * System.Windows.Controls.KeyTipAccessedEventHandler -> unit
Public Shared Sub RemovePreviewKeyTipAccessedHandler (element As DependencyObject, handler As KeyTipAccessedEventHandler)

參數

element
DependencyObject

要附加處理常式之路由事件的識別項。

handler
KeyTipAccessedEventHandler

要從這個項目上的事件處理常式集合中移除的特定處理常式實作。

適用於