Compartilhar via


ChevronButtonField.GetPotentialMouseAction Method

Definition

Retrieves a mouse action that should be made active on the next MouseDown event if the mouse is over the specified point.

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

The current mouse button state.

point
PointD

The mouse position relative to the diagram's top-left in world units.

hitTestInfo
DiagramHitTestInfo

Information detailing the results of the hit testing.

Returns

A mouse action that should be made active on the next MouseDown event if the mouse is over the specified point.

Applies to