Udostępnij za pośrednictwem


AccessKeyManager.AddAccessKeyPressedHandler Metoda

Definicja

Dodaje procedurę obsługi dla dołączonego AccessKeyPressed zdarzenia.

public:
 static void AddAccessKeyPressedHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::AccessKeyPressedEventHandler ^ handler);
public static void AddAccessKeyPressedHandler (System.Windows.DependencyObject element, System.Windows.Input.AccessKeyPressedEventHandler handler);
static member AddAccessKeyPressedHandler : System.Windows.DependencyObject * System.Windows.Input.AccessKeyPressedEventHandler -> unit
Public Shared Sub AddAccessKeyPressedHandler (element As DependencyObject, handler As AccessKeyPressedEventHandler)

Parametry

element
DependencyObject

Element UIElement lub ContentElement , który nasłuchuje tego zdarzenia.

handler
AccessKeyPressedEventHandler

Program obsługi zdarzeń do dodania.

Dotyczy