AccessKeyManager::Register Method (String^, IInputElement^)
.NET Framework (current version)
Associates the specified access keys with the specified element.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- key
-
Type:
System::String^
The access key.
- element
-
Type:
System.Windows::IInputElement^
The element to associate key with.
When the access keys is pressed, the OnAccessKey method of element is called.
An element can be associated with any number of access keys.
.NET Framework
Available since 3.0
Available since 3.0
Show: