Bewerken

Delen via


TextCompositionManager Class

Definition

Provides facilities for managing events related to input and text compositions.

public ref class TextCompositionManager sealed : System::Windows::Threading::DispatcherObject
public sealed class TextCompositionManager : System.Windows.Threading.DispatcherObject
type TextCompositionManager = class
    inherit DispatcherObject
Public NotInheritable Class TextCompositionManager
Inherits DispatcherObject
Inheritance
TextCompositionManager

Fields

PreviewTextInputEvent

Identifies the PreviewTextInput attached event.

PreviewTextInputStartEvent

Identifies the PreviewTextInputStart attached event.

PreviewTextInputUpdateEvent

Identifies the PreviewTextInputUpdate attached event.

TextInputEvent

Identifies the TextInput attached event.

TextInputStartEvent

Identifies the TextInputStart attached event.

TextInputUpdateEvent

Identifies the TextInputUpdate attached event.

Properties

Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)

Methods

AddPreviewTextInputHandler(DependencyObject, TextCompositionEventHandler)

Adds a handler for the PreviewTextInput attached event.

AddPreviewTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

Adds a handler for the PreviewTextInputStart attached event.

AddPreviewTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

Adds a handler for the PreviewTextInputUpdate attached event.

AddTextInputHandler(DependencyObject, TextCompositionEventHandler)

Adds a handler for the TextInput attached event.

AddTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

Adds a handler for the TextInputStart attached event.

AddTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

Adds a handler for the TextInputUpdate attached event.

CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
CompleteComposition(TextComposition)

Completes a specified 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)
RemovePreviewTextInputHandler(DependencyObject, TextCompositionEventHandler)

Removes a handler for the PreviewTextInput attached event.

RemovePreviewTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

Removes a handler for the TextInputStart attached event.

RemovePreviewTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

Removes a handler for the PreviewTextInputUpdate attached event.

RemoveTextInputHandler(DependencyObject, TextCompositionEventHandler)

Removes a handler for the TextInput attached event.

RemoveTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

Removes a handler for the TextInputStart attached event.

RemoveTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

Removes a handler for the TextInputUpdate attached event.

StartComposition(TextComposition)

Starts a specified text composition.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
UpdateComposition(TextComposition)

Updates a specified text composition.

VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Attached Events

PreviewTextInput

Occurs when a TextComposition is completed.

PreviewTextInputStart

Occurs when a new TextComposition is started.

PreviewTextInputUpdate

Occurs when a TextComposition is updated.

TextInput

Occurs when a TextComposition is completed.

TextInputStart

Occurs when a new TextComposition is started.

TextInputUpdate

Occurs when a TextComposition is updated.

Applies to

See also