Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Public ReadOnly Property ContextMenuMousePosition As PointD
'Usage
Dim instance As DiagramDocView 
Dim value As PointD 

value = instance.ContextMenuMousePosition
public PointD ContextMenuMousePosition { get; }
public:
property PointD ContextMenuMousePosition {
    PointD get ();
}
public 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

See Also

Reference

DiagramDocView Class

DiagramDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace