ScrollInertiaStarting(Interactive, Int32, Vector) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a Scroll gesture inertia starting event. Note: ScrollGestureInertiaStartingEventArgs has an internal constructor in Avalonia. This method uses reflection to create the event args.

public bool ScrollInertiaStarting(Interactive target, int gestureId, Vector inertia)

Parameters

target
Avalonia.Interactivity.Interactive

The target control to receive the event.

gestureId
Int32

Gesture ID of the scroll.

inertia
Avalonia.Vector

Inertia velocity vector.

Returns

Boolean
True if the event was raised successfully, false if reflection failed.