Keyboard.AddPreviewKeyboardInputProviderAcquireFocusHandler Метод

Определение

Добавляет обработчик для вложенного события PreviewKeyboardInputProviderAcquireFocus.

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

Параметры

element
DependencyObject

Объект UIElement или ContentElement, прослушивающий данное событие.

handler
KeyboardInputProviderAcquireFocusEventHandler

Добавляемый обработчик событий.

Комментарии

Этот метод предоставляет присоединенные методы доступа к свойствам для доступа к коду и обработки атрибутов XAML присоединенного Keyboard.PreviewKeyboardInputProviderAcquireFocus события.

Применяется к