PlusMinusButtonField::GetPotentialMouseAction Method (MouseButtons, PointD, DiagramHitTestInfo^)
Visual Studio 2015
Retrieves a mouse action that should be made active on the next MouseDown event if the mouse is over the specified point.
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 current mouse button state.
- point
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
The mouse position relative to the diagram's top-left in world units.
- hitTestInfo
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^
Information detailing the results of the hit testing.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::MouseAction^
Show: