ShapeField::GetPotentialMouseAction Method (MouseButtons, PointD, DiagramHitTestInfo^)
Visual Studio 2015
Gets the mouse action to activate when the user next clicks a specific point on the diagram.
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 )
Parameters
- mouseButtons
-
Type:
System.Windows.Forms::MouseButtons
The mouse buttons that can activate the potential mouse action.
- point
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
The point on the diagram that can activate the mouse action.
- hitTestInfo
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^
The information to gather if the potential mouse action occurs.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::MouseAction^The mouse action to activate when the user next clicks a specific point on the diagram.
By default, the shape field is selected. If the shape field has the focus and can be edited, the in-place editor is invoked.
Show: