TextCompositionManager.AddPreviewTextInputStartHandler メソッド

定義

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

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

パラメーター

element
DependencyObject

イベント ハンドラーを追加する依存関係オブジェクト。 依存関係オブジェクトは、 UIElement または ContentElementである必要があります。

handler
TextCompositionEventHandler

追加するハンドラーを指定するデリゲート。

注釈

このメソッドは、このイベントのトンネリング バージョンのハンドラーを追加します。 このイベントのバブル バージョンについては、 TextInputStartを参照してください。

適用対象

こちらもご覧ください