共用方式為


ShapeElement.OnKeyDown(DiagramKeyEventArgs) Method

Definition

Called when a key is pressed.

public:
 virtual void OnKeyDown(Microsoft::VisualStudio::Modeling::Diagrams::DiagramKeyEventArgs ^ e);
public virtual void OnKeyDown (Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs e);
abstract member OnKeyDown : Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs -> unit
override this.OnKeyDown : Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventArgs -> unit
Public Overridable Sub OnKeyDown (e As DiagramKeyEventArgs)

Parameters

e
DiagramKeyEventArgs

A DiagramKeyEventArgs that contains event data.

Applies to