IApp.PinchToZoomIn 方法

定義

多載

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

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

PinchToZoomIn(String, Nullable<TimeSpan>)

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

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

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

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)

參數

query
Func<AppQuery,AppQuery>

Fluent API 的進入點,以指定 專案。

duration
Nullable<TimeSpan>

TimeSpan捏合手勢的持續時間。

適用於

PinchToZoomIn(String, Nullable<TimeSpan>)

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

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)

參數

marked
String

標示要相符的選取器。 如需相關資訊,請參閱 Marked(String)

duration
Nullable<TimeSpan>

TimeSpan捏合手勢的持續時間。

適用於