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

欄位

名稱 Description
PreviewTextInputEvent

識別 PreviewTextInput 所附事件。

PreviewTextInputStartEvent

識別 PreviewTextInputStart 所附事件。

PreviewTextInputUpdateEvent

識別 PreviewTextInputUpdate 所附事件。

TextInputEvent

識別 TextInput 所附事件。

TextInputStartEvent

識別 TextInputStart 所附事件。

TextInputUpdateEvent

識別 TextInputUpdate 所附事件。

屬性

名稱 Description
Dispatcher

了解 Dispatcher 這與此 DispatcherObject 有關。

(繼承來源 DispatcherObject)

方法

名稱 Description
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)

附加事件

名稱 Description
PreviewTextInput

當 a TextComposition 被完成時發生。

PreviewTextInputStart

當新書 TextComposition 開始時會發生。

PreviewTextInputUpdate

當 a TextComposition 被更新時會發生。

TextInput

當 a TextComposition 被完成時發生。

TextInputStart

當新書 TextComposition 開始時會發生。

TextInputUpdate

當 a TextComposition 被更新時會發生。

適用於

另請參閱