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

Syntax

'Declaração
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

See Also

Reference

DiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace