共用方式為


ShapeElement.OnKeyPress(DiagramKeyPressEventArgs) Method

Definition

Called between a key down and key up.

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

Parameters

e
DiagramKeyPressEventArgs

A DiagramKeyPressEventArgs that contains event data.

Applies to