AndroidApp.ScrollRight Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
ScrollRight(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean) |
Scrollt nach rechts bei der ersten Elementabgleichsabfrage. |
ScrollRight(String, ScrollStrategy, Double, Int32, Boolean) |
Scrollt nach rechts bei der ersten Elementabgleichsabfrage. |
ScrollRight(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean)
Scrollt nach rechts bei der ersten Elementabgleichsabfrage.
public void ScrollRight (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);
member this.ScrollRight : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
Public Sub ScrollRight (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
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.
Gilt für:
ScrollRight(String, ScrollStrategy, Double, Int32, Boolean)
Scrollt nach rechts bei der ersten Elementabgleichsabfrage.
public void ScrollRight (string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
member this.ScrollRight : string * Xamarin.UITest.ScrollStrategy * double * int * bool -> unit
Public Sub ScrollRight (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.