Share via


AndroidApp.ScrollToHorizontalEnd Method

Definition

Overloads

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

Scroll the matching element so that its rightmost child element is visible. If multiple elements are matched, the first one will be used.

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

Scroll the matching element so that its rightmost child element is visible. If multiple elements are matched, the first one will be used.

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

Scroll the matching element so that its rightmost child element is visible. If multiple elements are matched, the first one will be used.

public void ScrollToHorizontalEnd (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.ScrollToHorizontalEnd : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.ScrollStrategy * double * int * Nullable<TimeSpan> -> unit
Public Sub ScrollToHorizontalEnd (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)

Parameters

withinQuery
Func<AppQuery,AppQuery>

Entry point for the fluent API to specify the elements.

strategy
ScrollStrategy

Strategy for scrolling element.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0). Ignored for programmatic scrolling.

swipeSpeed
Int32

The speed of the gesture. Ignored for programmatic scrolling.

timeout
Nullable<TimeSpan>

The TimeSpan to wait before failing.

Applies to

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

Scroll the matching element so that its rightmost child element is visible. If multiple elements are matched, the first one will be used.

public void ScrollToHorizontalEnd (string withinMarked, Xamarin.UITest.ScrollStrategy strategy = Xamarin.UITest.ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, Nullable<TimeSpan> timeout = null);
member this.ScrollToHorizontalEnd : string * Xamarin.UITest.ScrollStrategy * double * int * Nullable<TimeSpan> -> unit
Public Sub ScrollToHorizontalEnd (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)

Parameters

withinMarked
String

Marked selector to select what element to scroll within. See Marked(String) for more information.

strategy
ScrollStrategy

Strategy for scrolling element.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0). Ignored for programmatic scrolling.

swipeSpeed
Int32

The speed of the gesture. Ignored for programmatic scrolling.

timeout
Nullable<TimeSpan>

The TimeSpan to wait before failing.

Applies to