This documentation is archived and is not being maintained.

ShapeElement.KeyPress Event

Occurs when a key is pressed.

Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in microsoft.visualstudio.modeling.diagrams.dll)

public event DiagramKeyPressEventHandler KeyPress
/** @event */
public void add_KeyPress (DiagramKeyPressEventHandler value)

/** @event */
public void remove_KeyPress (DiagramKeyPressEventHandler value)

JScript supports the use of events, but not the declaration of new ones.
Show: