ShapeField.OnKeyPress Method
Alerts listeners when the user has pressed a key when pointing to a shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
'Declaration
Public Overridable Sub OnKeyPress ( _
e As DiagramKeyPressEventArgs _
)
public virtual void OnKeyPress(
DiagramKeyPressEventArgs e
)
public:
virtual void OnKeyPress(
DiagramKeyPressEventArgs^ e
)
abstract OnKeyPress :
e:DiagramKeyPressEventArgs -> unit
override OnKeyPress :
e:DiagramKeyPressEventArgs -> unit
public function OnKeyPress(
e : DiagramKeyPressEventArgs
)
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyPressEventArgsThe arguments to use when a key is pressed.
- 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.