FrameworkTextComposition Class

 

Represents a composition during the text input events of a TextBox.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)


public class FrameworkTextComposition : TextComposition

NameDescription
System_CAPS_pubpropertyAutoComplete

Gets the auto-complete setting for this text composition.(Inherited from TextComposition.)

System_CAPS_pubpropertyCompositionLength

Gets the length of the current composition in Unicode symbols.

System_CAPS_pubpropertyCompositionOffset

Gets the position at which the composition text occurs in the TextBox.

System_CAPS_pubpropertyCompositionText

Gets or sets the composition text for this text composition.(Inherited from TextComposition.)

System_CAPS_pubpropertyControlText

Gets or sets any control text associated with this text composition.(Inherited from TextComposition.)

System_CAPS_pubpropertyDispatcher

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubpropertyResultLength

Gets the length of the finalized text in Unicode symbols when the TextInput event occurs.

System_CAPS_pubpropertyResultOffset

Gets the offset of the finalized text when the TextInput event occurs.

System_CAPS_pubpropertySystemCompositionText

Gets or sets the system composition text for this text composition.(Inherited from TextComposition.)

System_CAPS_pubpropertySystemText

Gets or sets the system text for this text composition.(Inherited from TextComposition.)

System_CAPS_pubpropertyText

Gets or sets the current text for this text composition.(Inherited from TextComposition.)

NameDescription
System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethodComplete()

Finalizes the composition. (Overrides TextComposition.Complete().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVerifyAccess()

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.

.NET Framework
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.

Return to top
Show: