Skip to content

MouseInputStep ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

A step that sends a mouse event at a specific position.

csharp
public sealed record MouseInputStep : TestStep, IEquatable<TestStep>, IEquatable<MouseInputStep>

Inheritance ​

Object → TestStep → MouseInputStep

Implements ​

Constructors ​

MouseInputStep(MouseButton, MouseAction, int, int, Hex1bModifiers, int) ​

A step that sends a mouse event at a specific position.

Parameters:

csharp
public MouseInputStep(MouseButton Button, MouseAction Action, int X, int Y, Hex1bModifiers Modifiers, int ClickCount = 1)

Properties ​

Action ​

Returns: MouseAction

csharp
public MouseAction Action { get; init; }

Button ​

Returns: MouseButton

csharp
public MouseButton Button { get; init; }

ClickCount ​

Returns: Int32

csharp
public int ClickCount { get; init; }

Modifiers ​

Returns: Hex1bModifiers

csharp
public Hex1bModifiers Modifiers { get; init; }

X ​

Returns: Int32

csharp
public int X { get; init; }

Y ​

Returns: Int32

csharp
public int Y { get; init; }

Released under the MIT License.