ShapeSubField.OnKeyDown Method
Called when a key is pressed. To be called, this ShapeSubField must be the focused ShapeSubField in the selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Sub OnKeyDown ( _
e As DiagramKeyEventArgs _
)
public virtual void OnKeyDown(
DiagramKeyEventArgs e
)
public:
virtual void OnKeyDown(
DiagramKeyEventArgs^ e
)
abstract OnKeyDown :
e:DiagramKeyEventArgs -> unit
override OnKeyDown :
e:DiagramKeyEventArgs -> unit
public function OnKeyDown(
e : DiagramKeyEventArgs
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgsA DiagramKeyEventArgs that contains 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.