Flick(Interactive, SwipeDirection, Double, Double) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a flick/fling gesture (fast swipe with inertia).

public void Flick(Interactive target, SwipeDirection direction, double distance = 50, double velocity = 500)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

direction
SwipeDirection

Flick direction.

distance
Double

Initial flick distance.

velocity
Double

Inertia velocity.