AccessKeyManager::AddAccessKeyPressedHandler Method (DependencyObject^, AccessKeyPressedEventHandler^)
.NET Framework (current version)
Adds a handler for the AccessKeyPressed attached event.
Assembly: PresentationCore (in PresentationCore.dll)
public: static void AddAccessKeyPressedHandler( DependencyObject^ element, AccessKeyPressedEventHandler^ handler )
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The UIElement or ContentElement that listens to this event.
- handler
-
Type:
System.Windows.Input::AccessKeyPressedEventHandler^
The event handler to be added.
.NET Framework
Available since 3.0
Available since 3.0
Show: