共用方式為


DecoratorHostShape.OnKeyDown(DiagramKeyEventArgs) Method

Definition

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

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

Parameters

Applies to