FrameworkTextComposition Class
Represents a composition during the text input events of a TextBox.
System.Windows.Threading::DispatcherObject
System.Windows.Input::TextComposition
System.Windows.Documents::FrameworkTextComposition
System.Windows.Documents::FrameworkRichTextComposition
Assembly: PresentationFramework (in PresentationFramework.dll)
The FrameworkTextComposition type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AutoComplete | Gets the auto-complete setting for this text composition. (Inherited from TextComposition.) |
![]() | CompositionLength | Gets the length of the current composition in Unicode symbols. |
![]() | CompositionOffset | Gets the position at which the composition text occurs in the TextBox. |
![]() | CompositionText | Gets or sets the composition text for this text composition. (Inherited from TextComposition.) |
![]() | ControlText | Gets or sets any control text associated with this text composition. (Inherited from TextComposition.) |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | ResultLength | Gets the length of the finalized text in Unicode symbols when the TextInput event occurs. |
![]() | ResultOffset | Gets the offset of the finalized text when the TextInput event occurs. |
![]() | SystemCompositionText | Gets or sets the system composition text for this text composition. (Inherited from TextComposition.) |
![]() | SystemText | Gets or sets the system text for this text composition. (Inherited from TextComposition.) |
![]() | Text | Gets or sets the current text for this text composition. (Inherited from TextComposition.) |
| Name | Description | |
|---|---|---|
![]() | CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
![]() | Complete | Finalizes the composition. (Overrides TextComposition::Complete().) |
![]() | 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.) |
The TextCompositionEventArgs::TextComposition property is a FrameworkTextComposition when the user enters text into a TextBox by using an Input Method Editor (IME) and the TextInput, TextInputUpdate, or TextInputStart event occurs.
FrameworkTextComposition is the base class of FrameworkRichTextComposition. The FrameworkRichTextComposition class defines properties that return TextPointer objects to indicate the position of the text composition. When the user enters text into a RichTextBox, TextCompositionEventArgs::TextComposition is a FrameworkRichTextComposition.
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.
