PullToRefresh(Interactive, PullDirection, Double, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a complete pull-to-refresh gesture sequence.

public void PullToRefresh(Interactive target, PullDirection direction, double distance = 100, int steps = 10)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

direction
Avalonia.Input.PullDirection

Pull direction.

distance
Double

Total pull distance.

steps
Int32

Number of intermediate steps (must be greater than 0).