HoverPath(Interactive, Point[], Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates moving through a series of positions (e.g., for testing hover states).

public void HoverPath(Interactive target, Point[] positions, int pauseDuration = 100)

Parameters

target
Avalonia.Interactivity.Interactive

The target control.

positions
Avalonia.Point[]

Positions to move through.

pauseDuration
Int32

Time to pause at each position in milliseconds.