Partager via


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

'Déclaration
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

.NET Framework Security

See Also

Reference

KeyProcessor Class

Microsoft.VisualStudio.Text.Editor Namespace