Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the mouse action to call when the MouseDown event occurs over the specified point.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overrides Function GetPotentialMouseAction ( _
mouseButtons As MouseButtons, _
point As PointD, _
hitTestInfo As DiagramHitTestInfo _
) As MouseAction
public override MouseAction GetPotentialMouseAction(
MouseButtons mouseButtons,
PointD point,
DiagramHitTestInfo hitTestInfo
)
public:
virtual MouseAction^ GetPotentialMouseAction(
MouseButtons mouseButtons,
PointD point,
DiagramHitTestInfo^ hitTestInfo
) override
abstract GetPotentialMouseAction :
mouseButtons:MouseButtons *
point:PointD *
hitTestInfo:DiagramHitTestInfo -> MouseAction
override GetPotentialMouseAction :
mouseButtons:MouseButtons *
point:PointD *
hitTestInfo:DiagramHitTestInfo -> MouseAction
public override function GetPotentialMouseAction(
mouseButtons : MouseButtons,
point : PointD,
hitTestInfo : DiagramHitTestInfo
) : MouseAction
Parameters
- mouseButtons
Type: System.Windows.Forms.MouseButtons
The mouse buttons that can call the mouse action.
- point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point on the diagram.
- hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo
The x-coordinate and y-coordinate of the mouse when a user clicks the diagram.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseAction
The mouse action to call when the MouseDown event occurs over the specified point.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.