Keyboard.AddKeyboardInputProviderAcquireFocusHandler メソッド

定義

KeyboardInputProviderAcquireFocus 添付イベントのハンドラーを追加します。

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

パラメーター

element
DependencyObject

このイベントをリッスンする UIElement または ContentElement

handler
KeyboardInputProviderAcquireFocusEventHandler

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

注釈

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

適用対象