Partilhar via


DiagramPointEventArgs.MousePosition Property

Gets the mouse position in world units relative to the Diagram's top-left corner.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Public Property MousePosition As PointD
    Get
    Set
public PointD MousePosition { get; set; }
public:
property PointD MousePosition {
    PointD get ();
    void set (PointD value);
}
member MousePosition : PointD with get, set
function get MousePosition () : PointD
function set MousePosition (value : PointD)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework Security

See Also

Reference

DiagramPointEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace