KeyProcessor Class
Processes the keyboard input of the editor.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Text.Editor.KeyProcessor
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Декларация
Public MustInherit Class KeyProcessor
public abstract class KeyProcessor
public ref class KeyProcessor abstract
[<AbstractClass>]
type KeyProcessor = class end
public abstract class KeyProcessor
The KeyProcessor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeyProcessor | Initializes a new instance of KeyProcessor. |
Top
Properties
Name | Description | |
---|---|---|
IsInterestedInHandledEvents | Determines whether this processor should be called for events that have been handled by earlier KeyProcessor objects. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeyDown | Handles the KeyDown event. | |
KeyUp | Handles the KeyUp event. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PreviewKeyDown | Handles the PreviewKeyDown event. | |
PreviewKeyUp | Handles the PreviewKeyUp event. | |
PreviewTextInput | Handles the PreviewTextInput event. | |
PreviewTextInputStart | Handles the PreviewTextInputStart event. | |
PreviewTextInputUpdate | Handles the PreviewTextInputUpdate event. | |
TextInput | Handles the TextInput event. | |
TextInputStart | Handles the TextInputStart event. | |
TextInputUpdate | Handles the TextInputUpdate event. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Export this functionality by using the IKeyProcessorProvider.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.