DiagramDocView.ContextMenuMousePosition Property
Gets the position of the mouse when the shortcut menu is invoked for the diagram view.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Public ReadOnly Property ContextMenuMousePosition As PointD
Get
public PointD ContextMenuMousePosition { get; }
public:
property PointD ContextMenuMousePosition {
PointD get ();
}
member ContextMenuMousePosition : PointD
function get ContextMenuMousePosition () : PointD
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The position of the mouse.
Remarks
This property is used only when IsContextMenuShowing returns true.
Absolute world coordinates are used for the position of the mouse.
.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.