Compartilhar via


KeyProcessor Class

Processes the keyboard input of the editor.

Inheritance Hierarchy

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

'Declaration
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
Protected method KeyProcessor Initializes a new instance of KeyProcessor.

Top

Properties

  Name Description
Public property IsInterestedInHandledEvents Determines whether this processor should be called for events that have been handled by earlier KeyProcessor objects.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method KeyDown Handles the KeyDown event.
Public method KeyUp Handles the KeyUp event.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PreviewKeyDown Handles the PreviewKeyDown event.
Public method PreviewKeyUp Handles the PreviewKeyUp event.
Public method PreviewTextInput Handles the PreviewTextInput event.
Public method PreviewTextInputStart Handles the PreviewTextInputStart event.
Public method PreviewTextInputUpdate Handles the PreviewTextInputUpdate event.
Public method TextInput Handles the TextInput event.
Public method TextInputStart Handles the TextInputStart event.
Public method TextInputUpdate Handles the TextInputUpdate event.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace