AccessKeyManager.RemoveAccessKeyPressedHandler 方法

定义

从指定对象中移除指定的 AccessKeyPressed 事件处理程序。

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
AccessKeyPressedEventHandler

要删除的事件处理程序。

适用于