Compartilhar via


KeyProcessor.PreviewTextInput Method

Handles the PreviewTextInput event.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Overridable Sub PreviewTextInput ( _
    args As TextCompositionEventArgs _
)
public virtual void PreviewTextInput(
    TextCompositionEventArgs args
)
public:
virtual void PreviewTextInput(
    TextCompositionEventArgs^ args
)
abstract PreviewTextInput : 
        args:TextCompositionEventArgs -> unit  
override PreviewTextInput : 
        args:TextCompositionEventArgs -> unit
public function PreviewTextInput(
    args : TextCompositionEventArgs
)

Parameters

  • args
    Type: TextCompositionEventArgs

    A KeyEventArgs describing the key event.

.NET Framework Security

See Also

Reference

KeyProcessor Class

Microsoft.VisualStudio.Text.Editor Namespace