Partager via


DiagramClientView.OnKeyPress Method

Dispatches the KeyDown event to the appropriate diagram objects.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Protected Overrides Sub OnKeyPress ( _
    e As KeyPressEventArgs _
)
protected override void OnKeyPress(
    KeyPressEventArgs e
)
protected:
virtual void OnKeyPress(
    KeyPressEventArgs^ e
) override
abstract OnKeyPress : 
        e:KeyPressEventArgs -> unit 
override OnKeyPress : 
        e:KeyPressEventArgs -> unit 
protected override function OnKeyPress(
    e : KeyPressEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace