次の方法で共有


ConnectAction.OnContextMenuRequested(DiagramMouseEventArgs) Method

Definition

Should cancel connect action on context menu as it throws exceptions otherwise because target and source elements could be null in this case.

protected:
 override void OnContextMenuRequested(Microsoft::VisualStudio::Modeling::Diagrams::DiagramMouseEventArgs ^ e);
protected override void OnContextMenuRequested (Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs e);
override this.OnContextMenuRequested : Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs -> unit
Protected Overrides Sub OnContextMenuRequested (e As DiagramMouseEventArgs)

Parameters

e
DiagramMouseEventArgs

A DiagramMouseEventArgs that contains the event data.

Applies to