IApp.SwipeRightToLeft 方法

定義

多載

SwipeRightToLeft(Double, Int32, Boolean)

執行由右至左撥動手勢。

SwipeRightToLeft(Func<AppQuery,AppQuery>, Double, Int32, Boolean)

在與 'query' 相符的專案上執行由右至左撥動手勢。

SwipeRightToLeft(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)

在與 'query' 相符的專案上執行由右至左撥動手勢。

SwipeRightToLeft(String, Double, Int32, Boolean)

在比對專案上執行由右至左撥動手勢。 如果符合多個元素,則會使用第一個專案。

SwipeRightToLeft(Double, Int32, Boolean)

執行由右至左撥動手勢。

public void SwipeRightToLeft (double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : double * int * bool -> unit
Public Sub SwipeRightToLeft (Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

參數

swipePercentage
Double

從 0.0 撥動 (到 1.0 到 1.0 的螢幕距離) 。

swipeSpeed
Int32

手勢的速度。

withInertia
Boolean

撥動是否應該造成慣性。

適用於

SwipeRightToLeft(Func<AppQuery,AppQuery>, Double, Int32, Boolean)

在與 'query' 相符的專案上執行由右至左撥動手勢。

public void SwipeRightToLeft (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * double * int * bool -> unit
Public Sub SwipeRightToLeft (query As Func(Of AppQuery, AppQuery), Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

參數

query
Func<AppQuery,AppQuery>

Fluent API 的進入點,以指定 專案。

swipePercentage
Double

從 0.0 撥動到 1.0) (元素之間的距離。

swipeSpeed
Int32

手勢的速度。

withInertia
Boolean

撥動是否應該造成慣性。

適用於

SwipeRightToLeft(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)

在與 'query' 相符的專案上執行由右至左撥動手勢。

public void SwipeRightToLeft (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * double * int * bool -> unit
Public Sub SwipeRightToLeft (query As Func(Of AppQuery, AppWebQuery), Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

參數

query
Func<AppQuery,AppWebQuery>

Fluent API 的進入點,以指定 專案。

swipePercentage
Double

從 0.0 撥動到 1.0) (元素之間的距離。

swipeSpeed
Int32

手勢的速度。

withInertia
Boolean

撥動是否應該造成慣性。

適用於

SwipeRightToLeft(String, Double, Int32, Boolean)

在比對專案上執行由右至左撥動手勢。 如果符合多個元素,則會使用第一個專案。

public void SwipeRightToLeft (string marked, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeRightToLeft : string * double * int * bool -> unit
Public Sub SwipeRightToLeft (marked As String, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

參數

marked
String

標示要比對的選取器。 如需相關資訊,請參閱 Marked(String)

swipePercentage
Double

從 0.0 撥動到 1.0) (元素之間的距離。

swipeSpeed
Int32

手勢的速度。

withInertia
Boolean

撥動是否應該造成慣性。

適用於