Open topic with navigation

# 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
--- | --- | ---
| Mouse Constructor |

Top
Public Methods

| Name | Description
--- | --- | ---
| ButtonDown | Presses the specified mouse button at the specified point on the screen.
| ButtonUp | Releases the specified mouse button at the specified point on the screen.
| Click | Moves the mouse to the specified point on the screen and clicks the specified mouse button.
| DoubleClick | Moves the mouse to the specified point on the screen and double-clicks the specified mouse button.
| DragAndDrop | Drags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.
| Move | Moves the mouse to the specified point on the screen.

Top