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

取得與這個 Dispatcher 關聯的 DispatcherObject

(繼承來源 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 時發生。

適用於

另請參閱