Bagikan melalui


AndroidApp.ScrollLeftTo Metode

Definisi

Overload

ScrollLeftTo(String, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)

Gulir ke kiri hingga elemen yang cocok toMarked dengan ditampilkan di layar.

ScrollLeftTo(Func<AppQuery,AppWebQuery>, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)

Gulir ke kiri hingga elemen yang cocok toMarked dengan ditampilkan di layar.

ScrollLeftTo(Func<AppQuery,AppWebQuery>, Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)

Gulir ke kiri hingga elemen yang cocok toQuery dengan ditampilkan di layar.

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

Gulir ke kiri hingga elemen yang cocok toQuery dengan ditampilkan di layar.

ScrollLeftTo(String, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)

Gulir ke kiri hingga elemen yang cocok toMarked dengan ditampilkan di layar.

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

Parameter

toMarked
String

Pemilih yang ditandai untuk memilih elemen apa yang akan dibawa ke layar. Lihat Marked(String) untuk informasi lebih lanjut.

withinMarked
String

Pemilih yang ditandai untuk memilih elemen apa yang akan digulir di dalamnya. Lihat Marked(String) untuk informasi lebih lanjut.

strategy
ScrollStrategy

Strategi untuk menggulir elemen.

swipePercentage
Double

Seberapa jauh melintasi elemen untuk menggesek (dari 0,0 hingga 1,0). Diabaikan untuk pengguliran terprogram.

swipeSpeed
Int32

Kecepatan gerakan. Diabaikan untuk pengguliran terprogram.

withInertia
Boolean

Apakah geser harus menyebabkan inertia. Diabaikan untuk pengguliran terprogram.

timeout
Nullable<TimeSpan>

Menunggu TimeSpan sebelum gagal.

Berlaku untuk

ScrollLeftTo(Func<AppQuery,AppWebQuery>, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)

Gulir ke kiri hingga elemen yang cocok toMarked dengan ditampilkan di layar.

public void ScrollLeftTo (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> toQuery, string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true, Nullable<TimeSpan> timeout = null);
member this.ScrollLeftTo : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string * Xamarin.UITest.ScrollStrategy * double * int * bool * Nullable<TimeSpan> -> unit
Public Sub ScrollLeftTo (toQuery As Func(Of AppQuery, AppWebQuery), withinMarked As String, Optional strategy As ScrollStrategy = Xamarin.UITest.ScrollStrategy.Auto, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true, Optional timeout As Nullable(Of TimeSpan) = null)

Parameter

toQuery
Func<AppQuery,AppWebQuery>

Titik masuk untuk API fasih untuk menentukan elemen yang akan dibawa ke layar.

withinMarked
String

Pemilih yang ditandai untuk memilih elemen apa yang akan digulir di dalamnya. Lihat Marked(String) untuk informasi lebih lanjut.

strategy
ScrollStrategy

Strategi untuk menggulir elemen.

swipePercentage
Double

Seberapa jauh melintasi elemen untuk menggesek (dari 0,0 hingga 1,0). Diabaikan untuk pengguliran terprogram.

swipeSpeed
Int32

Kecepatan gerakan. Diabaikan untuk pengguliran terprogram.

withInertia
Boolean

Apakah geser harus menyebabkan inertia. Diabaikan untuk pengguliran terprogram.

timeout
Nullable<TimeSpan>

Menunggu TimeSpan sebelum gagal.

Berlaku untuk

ScrollLeftTo(Func<AppQuery,AppWebQuery>, Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)

Gulir ke kiri hingga elemen yang cocok toQuery dengan ditampilkan di layar.

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

Parameter

toQuery
Func<AppQuery,AppWebQuery>

Titik masuk untuk API fasih untuk menentukan elemen yang akan dibawa ke layar.

withinQuery
Func<AppQuery,AppQuery>

Titik masuk untuk API fasih untuk menentukan elemen apa yang akan digulir.

strategy
ScrollStrategy

Strategi untuk menggulir elemen.

swipePercentage
Double

Seberapa jauh melintasi elemen untuk menggesek (dari 0,0 hingga 1,0). Diabaikan untuk pengguliran terprogram.

swipeSpeed
Int32

Kecepatan gerakan. Diabaikan untuk pengguliran terprogram.

withInertia
Boolean

Apakah geser harus menyebabkan inertia. Diabaikan untuk pengguliran terprogram.

timeout
Nullable<TimeSpan>

Menunggu TimeSpan sebelum gagal.

Berlaku untuk

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

Gulir ke kiri hingga elemen yang cocok toQuery dengan ditampilkan di layar.

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

Parameter

toQuery
Func<AppQuery,AppQuery>

Titik masuk untuk API fasih untuk menentukan elemen yang akan dibawa ke layar.

withinQuery
Func<AppQuery,AppQuery>

Titik masuk untuk API fasih untuk menentukan elemen apa yang akan digulir.

strategy
ScrollStrategy

Strategi untuk menggulir elemen.

swipePercentage
Double

Seberapa jauh melintasi elemen untuk menggesek (dari 0,0 hingga 1,0). Diabaikan untuk pengguliran terprogram.

swipeSpeed
Int32

Kecepatan gerakan. Diabaikan untuk pengguliran terprogram.

withInertia
Boolean

Apakah geser harus menyebabkan inertia. Diabaikan untuk pengguliran terprogram.

timeout
Nullable<TimeSpan>

Menunggu TimeSpan sebelum gagal.

Berlaku untuk