Port::GetPotentialMouseAction Method (MouseButtons, PointD, DiagramHitTestInfo^)
Visual Studio 2015
Get the active MouseAction when the cursor is over the port.
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 Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::MouseAction^
Show: