共用方式為


AndroidApp.ScrollToVerticalStart 方法

定義

多載

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)

參數

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

適用於

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
timeout
Nullable<TimeSpan>

適用於