TextComposition コンストラクター

定義

TextComposition クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
TextComposition(InputManager, IInputElement, String)

指定したTextComposition、ソース要素、および合成テキストを新しいインスタンスの初期値として受け取って、InputManager クラスの新しいインスタンスを初期化します。

TextComposition(InputManager, IInputElement, String, TextCompositionAutoComplete)

指定したTextComposition、ソース要素、合成テキスト、およびInputManager設定を新しいインスタンスの初期値として使用して、TextCompositionAutoComplete クラスの新しいインスタンスを初期化します。

TextComposition(InputManager, IInputElement, String)

指定したTextComposition、ソース要素、および合成テキストを新しいインスタンスの初期値として受け取って、InputManager クラスの新しいインスタンスを初期化します。

public:
 TextComposition(System::Windows::Input::InputManager ^ inputManager, System::Windows::IInputElement ^ source, System::String ^ resultText);
public TextComposition(System.Windows.Input.InputManager inputManager, System.Windows.IInputElement source, string resultText);
new System.Windows.Input.TextComposition : System.Windows.Input.InputManager * System.Windows.IInputElement * string -> System.Windows.Input.TextComposition
Public Sub New (inputManager As InputManager, source As IInputElement, resultText As String)

パラメーター

inputManager
InputManager

このテキストコンポジションに関連付ける入力マネージャー。

source
IInputElement

このテキストコンポジションのソース要素。 ソース要素の基になるオブジェクトは、 IInputElement インターフェイスを実装する必要があります。

resultText
String

コンポジションの初期テキストを含む文字列。 このパラメーターは、新しいクラス インスタンスの Text プロパティの値になります。

注釈

このコンストラクターを使用して TextCompositionの新しいインスタンスを作成すると、新しいインスタンス AutoCompleteOn に設定されます。

適用対象

TextComposition(InputManager, IInputElement, String, TextCompositionAutoComplete)

指定したTextComposition、ソース要素、合成テキスト、およびInputManager設定を新しいインスタンスの初期値として使用して、TextCompositionAutoComplete クラスの新しいインスタンスを初期化します。

public:
 TextComposition(System::Windows::Input::InputManager ^ inputManager, System::Windows::IInputElement ^ source, System::String ^ resultText, System::Windows::Input::TextCompositionAutoComplete autoComplete);
[System.Security.SecurityCritical]
public TextComposition(System.Windows.Input.InputManager inputManager, System.Windows.IInputElement source, string resultText, System.Windows.Input.TextCompositionAutoComplete autoComplete);
public TextComposition(System.Windows.Input.InputManager inputManager, System.Windows.IInputElement source, string resultText, System.Windows.Input.TextCompositionAutoComplete autoComplete);
[<System.Security.SecurityCritical>]
new System.Windows.Input.TextComposition : System.Windows.Input.InputManager * System.Windows.IInputElement * string * System.Windows.Input.TextCompositionAutoComplete -> System.Windows.Input.TextComposition
new System.Windows.Input.TextComposition : System.Windows.Input.InputManager * System.Windows.IInputElement * string * System.Windows.Input.TextCompositionAutoComplete -> System.Windows.Input.TextComposition
Public Sub New (inputManager As InputManager, source As IInputElement, resultText As String, autoComplete As TextCompositionAutoComplete)

パラメーター

inputManager
InputManager

このテキストコンポジションに関連付ける入力マネージャー。

source
IInputElement

このテキストコンポジションのソース要素。 ソース要素の基になるオブジェクトは、 IInputElement インターフェイスを実装する必要があります。

resultText
String

コンポジションの初期テキストを含む文字列。 このパラメーターは、新しいクラス インスタンスの Text プロパティの値になります。

autoComplete
TextCompositionAutoComplete

このテキスト構成に必要なオートコンプリート動作を指定する TextCompositionAutoComplete 列挙体のメンバー。

属性

適用対象