TextComposition Oluşturucular

Tanım

TextComposition sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
TextComposition(InputManager, IInputElement, String)

Sınıfın TextComposition yeni bir örneğini başlatır ve yeni örnek için başlangıç değerleri olarak belirtilen InputManager, kaynak öğesini ve oluşturma metnini alır.

TextComposition(InputManager, IInputElement, String, TextCompositionAutoComplete)

Sınıfın TextComposition yeni bir örneğini başlatır ve yeni örneğin ilk değerleri olarak belirtilen InputManager, kaynak öğesini, oluşturma metnini ve bir TextCompositionAutoComplete ayarı alır.

TextComposition(InputManager, IInputElement, String)

Sınıfın TextComposition yeni bir örneğini başlatır ve yeni örnek için başlangıç değerleri olarak belirtilen InputManager, kaynak öğesini ve oluşturma metnini alır.

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)

Parametreler

inputManager
InputManager

Bu metin bileşimiyle ilişkilendirilecek bir giriş yöneticisi.

source
IInputElement

Bu metin bileşimi için bir kaynak öğesi. Kaynak öğenin temel alınan nesnesi arabirimini IInputElement uygulamalıdır.

resultText
String

Bileşimin ilk metnini içeren bir dize. Bu parametre, yeni sınıf örneğindeki özelliğinin değeri Text olur.

Açıklamalar

Bu oluşturucu yeni bir örneği TextCompositionoluşturmak için kullanılırsa, yeni örnek AutoComplete olarak ayarlanmış olur.

Şunlara uygulanır

TextComposition(InputManager, IInputElement, String, TextCompositionAutoComplete)

Sınıfın TextComposition yeni bir örneğini başlatır ve yeni örneğin ilk değerleri olarak belirtilen InputManager, kaynak öğesini, oluşturma metnini ve bir TextCompositionAutoComplete ayarı alır.

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)

Parametreler

inputManager
InputManager

Bu metin bileşimiyle ilişkilendirilecek bir giriş yöneticisi.

source
IInputElement

Bu metin bileşimi için bir kaynak öğesi. Kaynak öğenin temel alınan nesnesi arabirimini IInputElement uygulamalıdır.

resultText
String

Bileşimin ilk metnini içeren bir dize. Bu parametre, yeni sınıf örneğindeki özelliğinin değeri Text olur.

autoComplete
TextCompositionAutoComplete

Bu metin oluşturma için TextCompositionAutoComplete istenen otomatik tamamlama davranışını belirten numaralandırmaların bir üyesi.

Öznitelikler

Şunlara uygulanır