Port.GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the active MouseAction when the cursor is over the port.
public:
override Microsoft::VisualStudio::Modeling::Diagrams::MouseAction ^ GetPotentialMouseAction(System::Windows::Forms::MouseButtons mouseButtons, Microsoft::VisualStudio::Modeling::Diagrams::PointD point, Microsoft::VisualStudio::Modeling::Diagrams::DiagramHitTestInfo ^ hitTestInfo);
public override Microsoft.VisualStudio.Modeling.Diagrams.MouseAction GetPotentialMouseAction (System.Windows.Forms.MouseButtons mouseButtons, Microsoft.VisualStudio.Modeling.Diagrams.PointD point, Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo hitTestInfo);
override this.GetPotentialMouseAction : System.Windows.Forms.MouseButtons * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo -> Microsoft.VisualStudio.Modeling.Diagrams.MouseAction
Public Overrides Function GetPotentialMouseAction (mouseButtons As MouseButtons, point As PointD, hitTestInfo As DiagramHitTestInfo) As MouseAction
Parameters
- mouseButtons
- MouseButtons
Mouse buttons pressed
- point
- PointD
- hitTestInfo
- DiagramHitTestInfo
Shapes that were hit.
Returns
Active mouse action.