Share via


TextField.OnKeyPress(DiagramKeyPressEventArgs) Method

Definition

Invokes the editor if the field is editable and any alpha-numeric character is typed.

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

Parameters

e
DiagramKeyPressEventArgs

The DiagramKeyPressEventArgs that contains event data.

Applies to