DiagramClientView::GetPotentialMouseAction Method (MouseButtons, PointD, DiagramHitTestInfo^)
Visual Studio 2015
Retrieves the potential mouse action that should be made active on the very next MouseDown event if the MouseDown event occurs at the specified point.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public:
MouseAction^ GetPotentialMouseAction(
MouseButtons mouseButtons,
PointD point,
DiagramHitTestInfo^ hitTestInfo
)
Parameters
- mouseButtons
-
Type:
System.Windows.Forms::MouseButtons
The mouse buttons currently pressed.
- point
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
The location of the mouse relative to the Diagram's top-left in world units.
- hitTestInfo
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^
The object to receive the resultant hit test information.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::MouseAction^
Show: