iOSApp.PinchToZoomOut 方法

定义

重载

PinchToZoomOut(String, Nullable<TimeSpan>)

对匹配的元素执行捏合手势以缩小视图。如果多个元素匹配,将使用第一个元素。

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

对匹配的元素执行捏合手势以缩小视图。如果多个元素匹配,将使用第一个元素。

PinchToZoomOut(String, Nullable<TimeSpan>)

对匹配的元素执行捏合手势以缩小视图。如果多个元素匹配,将使用第一个元素。

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

参数

marked
String

要匹配的标记选择器。 有关详细信息,请参阅Marked(String)

duration
Nullable<TimeSpan>

TimeSpan捏合手势的持续时间。

实现

适用于

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

对匹配的元素执行捏合手势以缩小视图。如果多个元素匹配,将使用第一个元素。

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

参数

query
Func<AppQuery,AppQuery>

Fluent API 用于指定 元素的入口点。

duration
Nullable<TimeSpan>

TimeSpan捏合手势的持续时间。

实现

适用于