SmoothScroll(Interactive, Vector, Int32, Nullable) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates smooth scrolling over time.

public void SmoothScroll(Interactive target, Vector totalDelta, int steps = 10, Point? position = default(Point? ))

Parameters

target
Avalonia.Interactivity.Interactive

The target control.

totalDelta
Avalonia.Vector

Total scroll amount.

steps
Int32

Number of scroll steps.

position
Nullable<Point>

Optional position.