Share via


IApp.PinchToZoomIn Method

Definition

Overloads

PinchToZoomIn(Func<AppQuery,AppQuery>, Nullable<TimeSpan>)

Performs a pinch gestures on the matched element to zoom the view in. If multiple elements are matched, the first one will be used.

PinchToZoomIn(String, Nullable<TimeSpan>)

Performs a pinch gestures on the matched element to zoom the view in. If multiple elements are matched, the first one will be used.

PinchToZoomIn(Func<AppQuery,AppQuery>, Nullable<TimeSpan>)

Performs a pinch gestures on the matched element to zoom the view in. If multiple elements are matched, the first one will be used.

public void PinchToZoomIn (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, Nullable<TimeSpan> duration = null);
abstract member PinchToZoomIn : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Nullable<TimeSpan> -> unit
Public Sub PinchToZoomIn (query As Func(Of AppQuery, AppQuery), Optional duration As Nullable(Of TimeSpan) = null)

Parameters

query
Func<AppQuery,AppQuery>

Entry point for the fluent API to specify the element.

duration
Nullable<TimeSpan>

The TimeSpan duration of the pinch gesture.

Applies to

PinchToZoomIn(String, Nullable<TimeSpan>)

Performs a pinch gestures on the matched element to zoom the view in. If multiple elements are matched, the first one will be used.

public void PinchToZoomIn (string marked, Nullable<TimeSpan> duration = null);
abstract member PinchToZoomIn : string * Nullable<TimeSpan> -> unit
Public Sub PinchToZoomIn (marked As String, Optional duration As Nullable(Of TimeSpan) = null)

Parameters

marked
String

Marked selector to match. See Marked(String) for more information.

duration
Nullable<TimeSpan>

The TimeSpan duration of the pinch gesture.

Applies to