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

 

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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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 to top
Show: