DiagramClientView.OnKeyPress Method
Dispatches the KeyDown event to the appropriate diagram objects.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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
e
Type: System.Windows.Forms.KeyPressEventArgsA KeyPressEventArgs that contains the event data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.