共用方式為


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

要移除的事件處理常式。

適用於