Condividi tramite


ShapeField.OnKeyPress(DiagramKeyPressEventArgs) Method

Definition

Called between a key down and key up. To be called, this ShapeField must be the focused ShapeField in the selection.

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