ShapeElement.OnKeyDown Method

Called when a key is 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 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

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace