TextComposition Class
Represents a composition related to text input which includes the composition text itself, any related control or system text, and a state of completion for the composition.
Assembly: PresentationCore (in PresentationCore.dll)
System.Windows.Threading::DispatcherObject
System.Windows.Input::TextComposition
System.Windows.Documents::FrameworkTextComposition
| Name | Description | |
|---|---|---|
![]() | TextComposition(InputManager^, IInputElement^, String^) | Initializes a new instance of the TextComposition class, taking a specified InputManager, source element, and composition text as initial values for the new instance. |
![]() | TextComposition(InputManager^, IInputElement^, String^, TextCompositionAutoComplete) | Initializes a new instance of the TextComposition class, taking a specified InputManager, source element, composition text, and a TextCompositionAutoComplete setting as initial values for the new instance. |
| Name | Description | |
|---|---|---|
![]() | AutoComplete | Gets the auto-complete setting for this text composition. |
![]() | CompositionText | Gets or sets the composition text for this text composition. |
![]() | ControlText | Gets or sets any control text associated with this text composition. |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | SystemCompositionText | Gets or sets the system composition text for this text composition. |
![]() | SystemText | Gets or sets the system text for this text composition. |
![]() | Text | Gets or sets the current text for this text composition. |
| Name | Description | |
|---|---|---|
![]() | CheckAccess() | Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
![]() | Complete() | Completes this text composition. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | VerifyAccess() | Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


