TouchDown(Interactive, Point, Single) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a touch press (finger down) event.

public int TouchDown(Interactive target, Point position, float pressure = 1F)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

position
Avalonia.Point

Position of the touch point.

pressure
Single

Touch pressure (0.0 to 1.0).

Returns

Int32
The touch point ID.