共用方式為


IApp.PinchToZoomOut 方法

定義

多載

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

在相符的元素上執行捏合手勢,以縮小檢視。如果符合多個元素,則會使用第一個專案。

PinchToZoomOut(String, Nullable<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
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捏合手勢的持續時間。

適用於

PinchToZoomOut(String, Nullable<TimeSpan>)

在相符的元素上執行捏合手勢,以縮小檢視。如果符合多個元素,則會使用第一個專案。

public void PinchToZoomOut (string marked, Nullable<TimeSpan> duration = null);
abstract member 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捏合手勢的持續時間。

適用於