共用方式為


IApp.SwipeLeftToRight 方法

定義

多載

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

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

SwipeLeftToRight(String, Double, Int32, Boolean)

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

SwipeLeftToRight(Double, Int32, Boolean)

執行向左至右撥動手勢。

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

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

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

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

public void SwipeLeftToRight (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * double * int * bool -> unit
Public Sub SwipeLeftToRight (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

撥動是否應該造成慣性。

適用於

SwipeLeftToRight(String, Double, Int32, Boolean)

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

public void SwipeLeftToRight (string marked, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : string * double * int * bool -> unit
Public Sub SwipeLeftToRight (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

撥動是否應該造成慣性。

適用於

SwipeLeftToRight(Double, Int32, Boolean)

執行向左至右撥動手勢。

public void SwipeLeftToRight (double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : double * int * bool -> unit
Public Sub SwipeLeftToRight (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

撥動是否應該造成慣性。

適用於

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

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

public void SwipeLeftToRight (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * double * int * bool -> unit
Public Sub SwipeLeftToRight (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

撥動是否應該造成慣性。

適用於