Freigeben über


AndroidApp.ScrollDown Methode

Definition

Überlädt

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

Scrollt bei der ersten Elementabgleichsabfrage nach unten.

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

Scrollt bei der ersten Elementabgleichsabfrage nach unten.

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

Scrollt bei der ersten Elementabgleichsabfrage nach unten.

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)

Parameter

withinQuery
Func<AppQuery,AppQuery>

Einstiegspunkt für die Fluent-API, um anzugeben, in welchem Element ein Bildlauf erfolgen soll.

strategy
ScrollStrategy

Strategie für das Scrolling-Element.

swipePercentage
Double

Wie weit das Element ge wischen soll (von 0,0 auf 1,0). Wird beim programmgesteuerten Scrollen ignoriert.

swipeSpeed
Int32

Die Geschwindigkeit der Geste. Wird beim programmgesteuerten Scrollen ignoriert.

withInertia
Boolean

Gibt an, ob Wischbewegungen zu einer Unbewegheit führen sollen. Wird beim programmgesteuerten Scrollen ignoriert.

Implementiert

Gilt für:

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

Scrollt bei der ersten Elementabgleichsabfrage nach unten.

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)

Parameter

withinMarked
String

Markierter Selektor, um auszuwählen, in welchem Element ein Bildlauf erfolgen soll. Weitere Informationen finden Sie unter Marked(String).

strategy
ScrollStrategy

Strategie für das Scrolling-Element.

swipePercentage
Double

Wie weit das Element ge wischen soll (von 0,0 auf 1,0). Wird beim programmgesteuerten Scrollen ignoriert.

swipeSpeed
Int32

Die Geschwindigkeit der Geste. Wird beim programmgesteuerten Scrollen ignoriert.

withInertia
Boolean

Gibt an, ob Wischbewegungen zu einer Unbewegheit führen sollen. Wird beim programmgesteuerten Scrollen ignoriert.

Implementiert

Gilt für: