MouseActionEventArgs.CurrentMousePosition Property
Gets the mouse position when the event occurred. The position is in world coordinates relative to the diagram's top-left.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public ReadOnly Property CurrentMousePosition As PointD
public PointD CurrentMousePosition { get; }
public:
property PointD CurrentMousePosition {
PointD get ();
}
member CurrentMousePosition : PointD with get
function get CurrentMousePosition () : PointD
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.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.