TextComposition 생성자

정의

TextComposition 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
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 속성 값이 됩니다.

설명

이 생성자를 사용하여 새 인스턴스를 만들면 새 인스턴스TextCompositionAutoComplete기로 설정됩니다.

적용 대상

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 대해 원하는 자동 완성 동작을 지정하는 열거형의 멤버입니다.

특성

적용 대상