FrameworkRichTextComposition Class
Represents a composition related to text input. You can use this class to find the text position of the composition or the result string.
Assembly: PresentationFramework (in PresentationFramework.dll)
System.Windows.Threading.DispatcherObject
System.Windows.Input.TextComposition
System.Windows.Documents.FrameworkTextComposition
System.Windows.Documents.FrameworkRichTextComposition
| Name | Description | |
|---|---|---|
![]() | AutoComplete | Gets the auto-complete setting for this text composition.(Inherited from TextComposition.) |
![]() | CompositionEnd | Gets the end position of the current composition text. |
![]() | CompositionLength | Gets the length of the current composition in Unicode symbols.(Inherited from FrameworkTextComposition.) |
![]() | CompositionOffset | Gets the position at which the composition text occurs in the TextBox.(Inherited from FrameworkTextComposition.) |
![]() | CompositionStart | Gets the start position of the current composition text. |
![]() | 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.) |
![]() | ResultEnd | Gets the end position of the result text of the text input. |
![]() | ResultLength | Gets the length of the finalized text in Unicode symbols when the TextInput event occurs.(Inherited from FrameworkTextComposition.) |
![]() | ResultOffset | Gets the offset of the finalized text when the TextInput event occurs.(Inherited from FrameworkTextComposition.) |
![]() | ResultStart | Gets the start position of the result text of the text input. |
![]() | 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. (Inherited from FrameworkTextComposition.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | 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.) |
This class is used for parameters of text input events (i.e. TextInputStart, TextInputUpdate, etc) on RichTextBox.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

