MouseAction::OnContextMenuRequested Method (DiagramMouseEventArgs^)
Visual Studio 2015
Alerts listeners that the user has requested the shortcut menu.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- e
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramMouseEventArgs^
The arguments for a mouse event that occurs over the diagram.
To prevent any context menu from appearing during this MouseAction, override this method and set the Handled property of the DiagramMouseEventArgs to true.
Show: