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.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)


public class TextComposition : DispatcherObject

NameDescription
System_CAPS_pubmethodTextComposition(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.

System_CAPS_pubmethodTextComposition(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.

NameDescription
System_CAPS_pubpropertyAutoComplete

Gets the auto-complete setting for this text composition.

System_CAPS_pubpropertyCompositionText

Gets or sets the composition text for this text composition.

System_CAPS_pubpropertyControlText

Gets or sets any control text associated with this text composition.

System_CAPS_pubpropertyDispatcher

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

System_CAPS_pubpropertySystemCompositionText

Gets or sets the system composition text for this text composition.

System_CAPS_pubpropertySystemText

Gets or sets the system text for this text composition.

System_CAPS_pubpropertyText

Gets or sets the current text for this text composition.

NameDescription
System_CAPS_pubmethodCheckAccess()

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

System_CAPS_pubmethodComplete()

Completes this text composition.

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.)

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

Return to top
Show: