Drag(Interactive, Point, Point, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Performs a drag gesture from one point to another.

public void Drag(Interactive target, Point start, Point end, int steps = 10)

Parameters

target
Avalonia.Interactivity.Interactive

The target control.

start
Avalonia.Point

The starting position.

end
Avalonia.Point

The ending position.

steps
Int32

The number of intermediate steps.