KeyProcessor 類別
處理編輯器的鍵盤輸入。
繼承階層架構
Object
Microsoft.VisualStudio.Text.Editor.KeyProcessor
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Public MustInherit Class KeyProcessor
public abstract class KeyProcessor
public ref class KeyProcessor abstract
[<AbstractClass>]
type KeyProcessor = class end
public abstract class KeyProcessor
KeyProcessor 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
KeyProcessor | 初始化 KeyProcessor 的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
IsInterestedInHandledEvents | 判斷是否應針對先前 KeyProcessor 物件已處理的事件呼叫這個處理器。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 |
![]() |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
KeyDown | 處理 KeyDown 事件。 |
![]() |
KeyUp | 處理 KeyUp 事件。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
PreviewKeyDown | 處理 PreviewKeyDown 事件。 |
![]() |
PreviewKeyUp | 處理 PreviewKeyUp 事件。 |
![]() |
PreviewTextInput | 處理 PreviewTextInput 事件。 |
![]() |
PreviewTextInputStart | 處理 PreviewTextInputStart 事件。 |
![]() |
PreviewTextInputUpdate | 處理 PreviewTextInputUpdate 事件。 |
![]() |
TextInput | 處理 TextInput 事件。 |
![]() |
TextInputStart | 處理 TextInputStart 事件。 |
![]() |
TextInputUpdate | 處理 TextInputUpdate 事件。 |
![]() |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
備註
這項功能,藉由使用匯出IKeyProcessorProvider。
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。