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

追加するイベント ハンドラー。

注釈

このメソッドは、 Keyboard.PreviewKeyboardInputProviderAcquireFocus 添付イベントのコード アクセスと XAML 属性処理用の添付プロパティ アクセサーを提供します。

適用対象