AccessKeyManager.RemoveAccessKeyPressedHandler Method

Definition

Removes the specified AccessKeyPressed event handler from the specified object.

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)

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
AccessKeyPressedEventHandler

The event handler to be removed.

Applies to