iOSApp.ScrollDownTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ScrollDownTo(Func<AppQuery,AppQuery>, Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>) |
Scroll down until an element that matches the |
ScrollDownTo(Func<AppQuery,AppWebQuery>, Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>) |
Scroll down until an element that matches the |
ScrollDownTo(Func<AppQuery,AppWebQuery>, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>) |
Scroll down until an element that matches the |
ScrollDownTo(String, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>) |
Scroll down until an element that matches the |
ScrollDownTo(Func<AppQuery,AppQuery>, Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)
Scroll down until an element that matches the toQuery
is shown on the screen.
public void ScrollDownTo (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);
abstract member ScrollDownTo : 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
override this.ScrollDownTo : 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 ScrollDownTo (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)
Parameters
Entry point for the fluent API to specify the element to bring on screen.
Entry point for the fluent API to specify what element to scroll within.
- 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.
- withInertia
- Boolean
Whether swipes should cause inertia. Ignored for programmatic scrolling.
Implements
Applies to
ScrollDownTo(Func<AppQuery,AppWebQuery>, Func<AppQuery,AppQuery>, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)
Scroll down until an element that matches the toQuery
is shown on the screen.
public void ScrollDownTo (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);
abstract member ScrollDownTo : 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
override this.ScrollDownTo : 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 ScrollDownTo (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)
Parameters
- toQuery
- Func<AppQuery,AppWebQuery>
Entry point for the fluent API to specify the element to bring on screen.
Entry point for the fluent API to specify what element to scroll within.
- 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.
- withInertia
- Boolean
Whether swipes should cause inertia. Ignored for programmatic scrolling.
Implements
Applies to
ScrollDownTo(Func<AppQuery,AppWebQuery>, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)
Scroll down until an element that matches the toMarked
is shown on the screen.
public void ScrollDownTo (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);
abstract member ScrollDownTo : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string * Xamarin.UITest.ScrollStrategy * double * int * bool * Nullable<TimeSpan> -> unit
override this.ScrollDownTo : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string * Xamarin.UITest.ScrollStrategy * double * int * bool * Nullable<TimeSpan> -> unit
Public Sub ScrollDownTo (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)
Parameters
- toQuery
- Func<AppQuery,AppWebQuery>
Entry point for the fluent API to specify the element to bring on screen.
- 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.
- withInertia
- Boolean
Whether swipes should cause inertia. Ignored for programmatic scrolling.
Implements
Applies to
ScrollDownTo(String, String, ScrollStrategy, Double, Int32, Boolean, Nullable<TimeSpan>)
Scroll down until an element that matches the toMarked
is shown on the screen.
public void ScrollDownTo (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);
abstract member ScrollDownTo : string * string * Xamarin.UITest.ScrollStrategy * double * int * bool * Nullable<TimeSpan> -> unit
override this.ScrollDownTo : string * string * Xamarin.UITest.ScrollStrategy * double * int * bool * Nullable<TimeSpan> -> unit
Public Sub ScrollDownTo (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)
Parameters
- toMarked
- String
Marked selector to select what element to bring on screen. See Marked(String) for more information.
- 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.
- withInertia
- Boolean
Whether swipes should cause inertia. Ignored for programmatic scrolling.