Partager via


KeyProcessor.PreviewKeyDown, méthode

Gère l'événement PreviewKeyDown.

Espace de noms :  Microsoft.VisualStudio.Text.Editor
Assembly :  Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntaxe

'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
)

Paramètres

  • args
    Type : KeyEventArgs

    KeyEventArgs qui décrit l'événement clé.

Sécurité .NET Framework

Voir aussi

Référence

KeyProcessor Classe

Microsoft.VisualStudio.Text.Editor, espace de noms