Partager via


ShapeField.OnKeyDown Method

Alerts listeners when the user has held down 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)

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

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace