共用方式為


SelectAction.OnContextMenuRequested(DiagramMouseEventArgs) Method

Definition

Completes the select action first so that the context menu has a valid selection to work with.

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