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 제공합니다.

적용 대상