NodeShape.OnKeyPress Method
Alerts listeners that a key has been pressed.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Public Overrides Sub OnKeyPress ( _
e As DiagramKeyPressEventArgs _
)
public override void OnKeyPress(
DiagramKeyPressEventArgs e
)
public:
virtual void OnKeyPress(
DiagramKeyPressEventArgs^ e
) override
abstract OnKeyPress :
e:DiagramKeyPressEventArgs -> unit
override OnKeyPress :
e:DiagramKeyPressEventArgs -> unit
public override function OnKeyPress(
e : DiagramKeyPressEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyPressEventArgs
The arguments to use when a key on the diagram has been pressed.
.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.