共用方式為


Compartment.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