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

要从此元素的事件处理程序集合中删除的特定处理程序实现。

适用于