Compartilhar via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
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

.NET Framework Security

See Also

Reference

ShapeSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace