AccessKeyManager.Unregister(String, IInputElement) Method

Definition

Disassociates the specified access keys from the specified element.

public:
 static void Unregister(System::String ^ key, System::Windows::IInputElement ^ element);
public static void Unregister (string key, System.Windows.IInputElement element);
static member Unregister : string * System.Windows.IInputElement -> unit
Public Shared Sub Unregister (key As String, element As IInputElement)

Parameters

key
String

The access key.

element
IInputElement

The element from which to disassociate key.

Applies to