Share via


DecoratorHostShape.OnKeyPress(DiagramKeyPressEventArgs) Method

Definition

Overrides OnKeyPress to forward events to parent shape if ForwardEventsToParent == true.

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

Applies to