다음을 통해 공유


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

Syntax

'Declaration
Public ReadOnly Property ContextMenuMousePosition As PointD
public PointD ContextMenuMousePosition { get; }
public:
property PointD ContextMenuMousePosition {
    PointD get ();
}
member ContextMenuMousePosition : PointD with get
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