共用方式為


DecoratorHostShape.OnMouseDown(DiagramMouseEventArgs) Method

Definition

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

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

Parameters

Applies to