Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the potential mouse action that should be made active on the very next MouseDown event if the MouseDown event occurs at the specified point.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function GetPotentialMouseAction ( _
mouseButtons As MouseButtons, _
point As PointD, _
hitTestInfo As DiagramHitTestInfo _
) As MouseAction
public MouseAction GetPotentialMouseAction(
MouseButtons mouseButtons,
PointD point,
DiagramHitTestInfo hitTestInfo
)
public:
MouseAction^ GetPotentialMouseAction(
MouseButtons mouseButtons,
PointD point,
DiagramHitTestInfo^ hitTestInfo
)
member GetPotentialMouseAction :
mouseButtons:MouseButtons *
point:PointD *
hitTestInfo:DiagramHitTestInfo -> MouseAction
public function GetPotentialMouseAction(
mouseButtons : MouseButtons,
point : PointD,
hitTestInfo : DiagramHitTestInfo
) : MouseAction
Parameters
mouseButtons
Type: System.Windows.Forms.MouseButtonsThe mouse buttons currently pressed.
point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe location of the mouse relative to the Diagram's top-left in world units.
hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfoThe object to receive the resultant hit test information.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.MouseAction
.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.