共用方式為


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

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace