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
声明
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.KeyPressEventArgs
A 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.