TextCompositionManager 类

定义

提供用于管理与输入和文本组合相关的事件的功能。

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
继承
TextCompositionManager

字段

名称 说明
PreviewTextInputEvent

标识 PreviewTextInput 附加事件。

PreviewTextInputStartEvent

标识 PreviewTextInputStart 附加事件。

PreviewTextInputUpdateEvent

标识 PreviewTextInputUpdate 附加事件。

TextInputEvent

标识 TextInput 附加事件。

TextInputStartEvent

标识 TextInputStart 附加事件。

TextInputUpdateEvent

标识 TextInputUpdate 附加事件。

属性

名称 说明
Dispatcher

获取与此DispatcherDispatcherObject关联的值。

(继承自 DispatcherObject)

方法

名称 说明
AddPreviewTextInputHandler(DependencyObject, TextCompositionEventHandler)

为附加事件添加处理程序 PreviewTextInput

AddPreviewTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

为附加事件添加处理程序 PreviewTextInputStart

AddPreviewTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

为附加事件添加处理程序 PreviewTextInputUpdate

AddTextInputHandler(DependencyObject, TextCompositionEventHandler)

为附加事件添加处理程序 TextInput

AddTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

为附加事件添加处理程序 TextInputStart

AddTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

为附加事件添加处理程序 TextInputUpdate

CheckAccess()

确定调用线程是否有权访问此 DispatcherObject权限。

(继承自 DispatcherObject)
CompleteComposition(TextComposition)

完成指定的文本组合。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
RemovePreviewTextInputHandler(DependencyObject, TextCompositionEventHandler)

删除附加事件的处理程序 PreviewTextInput

RemovePreviewTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

删除附加事件的处理程序 TextInputStart

RemovePreviewTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

删除附加事件的处理程序 PreviewTextInputUpdate

RemoveTextInputHandler(DependencyObject, TextCompositionEventHandler)

删除附加事件的处理程序 TextInput

RemoveTextInputStartHandler(DependencyObject, TextCompositionEventHandler)

删除附加事件的处理程序 TextInputStart

RemoveTextInputUpdateHandler(DependencyObject, TextCompositionEventHandler)

删除附加事件的处理程序 TextInputUpdate

StartComposition(TextComposition)

启动指定的文本组合。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)
UpdateComposition(TextComposition)

更新指定的文本组合。

VerifyAccess()

强制调用线程有权访问此 DispatcherObject权限。

(继承自 DispatcherObject)

附加活动

名称 说明
PreviewTextInput

TextComposition完成后发生。

PreviewTextInputStart

在启动新 TextComposition 项时发生。

PreviewTextInputUpdate

更新时 TextComposition 发生。

TextInput

TextComposition完成后发生。

TextInputStart

在启动新 TextComposition 项时发生。

TextInputUpdate

更新时 TextComposition 发生。

适用于

另请参阅