Port::GetPotentialMouseAction Method (MouseButtons, PointD, DiagramHitTestInfo^)

 

Get the active MouseAction when the cursor is over the port.

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

public:
virtual MouseAction^ GetPotentialMouseAction(
	MouseButtons mouseButtons,
	PointD point,
	DiagramHitTestInfo^ hitTestInfo
) override

Parameters

mouseButtons
Type: System.Windows.Forms::MouseButtons

Mouse buttons pressed

point
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD
hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^

Shapes that were hit.

pt

Point is relative to Diagram's top-left in internal units.

Return to top
Show: