共用方式為


NodeShape.OnKeyDown(DiagramKeyEventArgs) Method

Definition

Called when a key is pressed.

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

Parameters

e
DiagramKeyEventArgs

A DiagramKeyEventArgs that contains event data.

Applies to