Freigeben über


AndroidApp.ScrollUp Methode

Definition

Überlädt

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

Scrollt bei der ersten Elementabgleichsabfrage nach oben.

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

Scrollt bei der ersten Elementabgleichsabfrage nach oben.

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

Scrollt bei der ersten Elementabgleichsabfrage nach oben.

public void ScrollUp (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 ScrollUp : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
override this.ScrollUp : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
Public Sub ScrollUp (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 scrollen soll.

strategy
ScrollStrategy

Strategie für scrollende Elemente.

swipePercentage
Double

Wie weit über das Element zu wischen ist (von 0.0 auf 1.0). Wird für programmgesteuertes Scrollen ignoriert.

swipeSpeed
Int32

Die Geschwindigkeit der Geste. Wird für programmgesteuertes Scrollen ignoriert.

withInertia
Boolean

Gibt an, ob Wischbewegungen Zuträgheit verursachen sollen. Wird für programmgesteuertes Scrollen ignoriert.

Implementiert

Gilt für:

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

Scrollt bei der ersten Elementabgleichsabfrage nach oben.

public void ScrollUp (string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member ScrollUp : string * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
override this.ScrollUp : string * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
Public Sub ScrollUp (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 scrollen soll. Weitere Informationen finden Sie unter Marked(String).

strategy
ScrollStrategy

Strategie für scrollende Elemente.

swipePercentage
Double

Wie weit über das Element zu wischen ist (von 0.0 auf 1.0). Wird für programmgesteuertes Scrollen ignoriert.

swipeSpeed
Int32

Die Geschwindigkeit der Geste. Wird für programmgesteuertes Scrollen ignoriert.

withInertia
Boolean

Gibt an, ob Wischbewegungen Zuträgheit verursachen sollen. Wird für programmgesteuertes Scrollen ignoriert.

Implementiert

Gilt für: