다음을 통해 공유


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: KeyEventArgs

    A KeyEventArgs describing the key event.

.NET Framework Security

See Also

Reference

KeyProcessor Class

Microsoft.VisualStudio.Text.Editor Namespace