This documentation is archived and is not being maintained.
TextComposition Class
Visual Studio 2010
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.
System::Object
System.Windows.Threading::DispatcherObject
System.Windows.Input::TextComposition
System.Windows.Documents::FrameworkTextComposition
System.Windows.Threading::DispatcherObject
System.Windows.Input::TextComposition
System.Windows.Documents::FrameworkTextComposition
Assembly: PresentationCore (in PresentationCore.dll)
The TextComposition type exposes the following members.
| 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 a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | 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.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
