KeyProcessor.PreviewKeyDown Method
Handles the PreviewKeyDown event.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Overridable Sub PreviewKeyDown ( _
args As KeyEventArgs _
)
public virtual void PreviewKeyDown(
KeyEventArgs args
)
public:
virtual void PreviewKeyDown(
KeyEventArgs^ args
)
abstract PreviewKeyDown :
args:KeyEventArgs -> unit
override PreviewKeyDown :
args:KeyEventArgs -> unit
public function PreviewKeyDown(
args : KeyEventArgs
)
Parameters
args
Type: KeyEventArgsA KeyEventArgs describing the key event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.