Επεξεργασία

Κοινή χρήση μέσω


TextComposition Class

Definition

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.

public ref class TextComposition : System::Windows::Threading::DispatcherObject
public class TextComposition : System.Windows.Threading.DispatcherObject
type TextComposition = class
    inherit DispatcherObject
Public Class TextComposition
Inherits DispatcherObject
Inheritance
TextComposition
Derived

Constructors

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.

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.

Properties

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.

Methods

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)
GetHashCode()

Serves as the default hash function.

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

Applies to

See also