This topic has not yet been rated - Rate this topic

Diagram.GetPotentialMouseAction Method

Gets the mouse action to initiate when the user clicks a point in the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public override MouseAction GetPotentialMouseAction(
	MouseButtons mouseButtons,
	PointD point,
	DiagramHitTestInfo hitTestInfo
)

Parameters

mouseButtons
Type: System.Windows.Forms.MouseButtons
The mouse buttons that trigger the mouse action.
point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point in the diagram.
hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo
The hit test information that corresponds to the mouse position.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseAction
The mouse action to initiate when the user clicks a point on the diagram.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ