MouseAction.ContextMenuRequested Method
Sends a request for the shortcut menu.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Sub ContextMenuRequested ( _
mouseArgs As DiagramMouseEventArgs _
)
public void ContextMenuRequested(
DiagramMouseEventArgs mouseArgs
)
public:
void ContextMenuRequested(
DiagramMouseEventArgs^ mouseArgs
)
member ContextMenuRequested :
mouseArgs:DiagramMouseEventArgs -> unit
public function ContextMenuRequested(
mouseArgs : DiagramMouseEventArgs
)
Parameters
- mouseArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
The arguments for a mouse event that occurs over the diagram.
.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.