Tap(Interactive, Point, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a complete tap (press and release) at the specified position.

public void Tap(Interactive target, Point position, int holdTime = 50)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

position
Avalonia.Point

Position of the tap.

holdTime
Int32

Time in milliseconds to hold before releasing.