共用方式為


ShapeElement.KeyDown Event

Definition

Event fired when the shape has focus and a keyboard key is down.

public:
 event Microsoft::VisualStudio::Modeling::Diagrams::DiagramKeyEventHandler ^ KeyDown;
public event Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventHandler KeyDown;
member this.KeyDown : Microsoft.VisualStudio.Modeling.Diagrams.DiagramKeyEventHandler 
Public Custom Event KeyDown As DiagramKeyEventHandler 

Event Type

Applies to