SelectAction.OnContextMenuRequested Method
Completes the select action first so that the context menu has a valid selection to work with.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Protected Overrides Sub OnContextMenuRequested ( _
e As DiagramMouseEventArgs _
)
protected override void OnContextMenuRequested(
DiagramMouseEventArgs e
)
protected:
virtual void OnContextMenuRequested(
DiagramMouseEventArgs^ e
) override
abstract OnContextMenuRequested :
e:DiagramMouseEventArgs -> unit
override OnContextMenuRequested :
e:DiagramMouseEventArgs -> unit
protected override function OnContextMenuRequested(
e : DiagramMouseEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
A DiagramMouseEventArgs that contains the event data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.