共用方式為


AndroidApp.ScrollToHorizontalStart 方法

定義

多載

ScrollToHorizontalStart(String, ScrollStrategy, Double, Int32, Nullable<TimeSpan>)

捲動比對專案,使其最左邊的子專案可見。 如果符合多個元素,則會使用第一個專案。

ScrollToHorizontalStart(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Nullable<TimeSpan>)

捲動比對專案,使其最左邊的子專案可見。 如果符合多個元素,則會使用第一個專案。

ScrollToHorizontalStart(String, ScrollStrategy, Double, Int32, Nullable<TimeSpan>)

捲動比對專案,使其最左邊的子專案可見。 如果符合多個元素,則會使用第一個專案。

public void ScrollToHorizontalStart (string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, Nullable<TimeSpan> timeout = null);
member this.ScrollToHorizontalStart : string * Xamarin.UITest.ScrollStrategy * double * int * Nullable<TimeSpan> -> unit
Public Sub ScrollToHorizontalStart (withinMarked As String, Optional strategy As ScrollStrategy = Xamarin.UITest.ScrollStrategy.Auto, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional timeout As Nullable(Of TimeSpan) = null)

參數

withinMarked
String
strategy
ScrollStrategy
swipePercentage
Double
swipeSpeed
Int32
timeout
Nullable<TimeSpan>

適用於

ScrollToHorizontalStart(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Nullable<TimeSpan>)

捲動比對專案,使其最左邊的子專案可見。 如果符合多個元素,則會使用第一個專案。

public void ScrollToHorizontalStart (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, Nullable<TimeSpan> timeout = null);
member this.ScrollToHorizontalStart : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * Nullable<TimeSpan> -> unit
Public Sub ScrollToHorizontalStart (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 timeout As Nullable(Of TimeSpan) = null)

參數

withinQuery
Func<AppQuery,AppQuery>
strategy
ScrollStrategy
swipePercentage
Double
swipeSpeed
Int32
timeout
Nullable<TimeSpan>

適用於