Share via


iOSApp.ScrollDown Method

Definition

Overloads

ScrollDown(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean)

Scrolls down on the first element matching query.

ScrollDown(String, ScrollStrategy, Double, Int32, Boolean)

Scrolls down on the first element matching query.

ScrollDown(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean)

Scrolls down on the first element matching query.

public void ScrollDown (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> withinQuery = null, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member ScrollDown : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
override this.ScrollDown : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
Public Sub ScrollDown (Optional withinQuery As Func(Of AppQuery, AppQuery) = null, Optional strategy As ScrollStrategy = Xamarin.UITest.ScrollStrategy.Auto, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

Parameters

withinQuery
Func<AppQuery,AppQuery>

Entry point for the fluent API to specify the what element to scroll within.

strategy
ScrollStrategy

Strategy for scrolling element.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0). Ignored for programmatic scrolling.

swipeSpeed
Int32

The speed of the gesture. Ignored for programmatic scrolling.

withInertia
Boolean

Whether swipes should cause inertia. Ignored for programmatic scrolling.

Implements

Applies to

ScrollDown(String, ScrollStrategy, Double, Int32, Boolean)

Scrolls down on the first element matching query.

public void ScrollDown (string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member ScrollDown : string * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
override this.ScrollDown : string * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
Public Sub ScrollDown (withinMarked As String, Optional strategy As ScrollStrategy = Xamarin.UITest.ScrollStrategy.Auto, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

Parameters

withinMarked
String

Marked selector to select what element to scroll within. See Marked(String) for more information.

strategy
ScrollStrategy

Strategy for scrolling element.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0). Ignored for programmatic scrolling.

swipeSpeed
Int32

The speed of the gesture. Ignored for programmatic scrolling.

withInertia
Boolean

Whether swipes should cause inertia. Ignored for programmatic scrolling.

Implements

Applies to