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

 

Gets the mouse action to call when the MouseDown event occurs over the specified point.

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

The mouse buttons that can call the mouse action.

point
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The point on the diagram.

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

The x-coordinate and y-coordinate of the mouse when a user clicks the diagram.

pt

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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::MouseAction^

The mouse action to call when the MouseDown event occurs over the specified point.

Return to top
Show: