AndroidApp.ScrollToHorizontalStart 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
適用於
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)
參數
- strategy
- ScrollStrategy
- swipePercentage
- Double
- swipeSpeed
- Int32