Mouse Class

A class that enables low-level mouse device operations.

From LeanFT 14.51: When working in a grid configuration, use IDesktopEnvironment.Mouse to get the IMouseDevice object, which enables keyboard operations on a specific environment or grid node.

C# Syntax

public class Mouse 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Mouse

Public Constructors
  Name Description
Public Constructor Mouse Constructor  
Top
Public Methods
  Name Description
Public Method static (Shared in Visual Basic) ButtonDown Presses the specified mouse button at the specified point on the screen.  
Public Method static (Shared in Visual Basic) ButtonUp Releases the specified mouse button at the specified point on the screen.  
Public Method static (Shared in Visual Basic) Click Moves the mouse to the specified point on the screen and clicks the specified mouse button.  
Public Method static (Shared in Visual Basic) DoubleClick Moves the mouse to the specified point on the screen and double-clicks the specified mouse button.  
Public Method static (Shared in Visual Basic) DragAndDrop Drags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.  
Public Method static (Shared in Visual Basic) Move Moves the mouse to the specified point on the screen.  
Top