AndroidApp.ScrollToVerticalStart 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ScrollToVerticalStart(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Nullable<TimeSpan>) |
捲動相符的專案,使其最上方的子專案可見。 如果符合多個元素,則會使用第一個專案。 |
ScrollToVerticalStart(String, ScrollStrategy, Double, Int32, Nullable<TimeSpan>) |
捲動相符的專案,使其最上方的子專案可見。 如果符合多個元素,則會使用第一個專案。 |
ScrollToVerticalStart(Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Nullable<TimeSpan>)
捲動相符的專案,使其最上方的子專案可見。 如果符合多個元素,則會使用第一個專案。
public void ScrollToVerticalStart (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.ScrollToVerticalStart : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * Nullable<TimeSpan> -> unit
Public Sub ScrollToVerticalStart (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
適用於
ScrollToVerticalStart(String, ScrollStrategy, Double, Int32, Nullable<TimeSpan>)
捲動相符的專案,使其最上方的子專案可見。 如果符合多個元素,則會使用第一個專案。
public void ScrollToVerticalStart (string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, Nullable<TimeSpan> timeout = null);
member this.ScrollToVerticalStart : string * Xamarin.UITest.ScrollStrategy * double * int * Nullable<TimeSpan> -> unit
Public Sub ScrollToVerticalStart (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