다음을 통해 공유


AndroidApp.DragAndDrop 메서드

정의

오버로드

DragAndDrop(String, String, DropLocation, Nullable<TimeSpan>, Nullable<TimeSpan>, Int32, Action)

항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

DragAndDrop(Func<AppQuery,AppQuery>, Func<AppQuery,AppQuery>, DropLocation, Nullable<TimeSpan>, Nullable<TimeSpan>, Int32, Action)

> 항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

DragAndDrop(Func<AppQuery,AppQuery>, Func<AppQuery,AppQuery>)

> 항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

DragAndDrop(String, String)

> 항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

DragAndDrop(String, String, DropLocation, Nullable<TimeSpan>, Nullable<TimeSpan>, Int32, Action)

항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

public void DragAndDrop (string fromMarked, string toMarked, Xamarin.UITest.Android.DropLocation placement = Xamarin.UITest.Android.DropLocation.OnTop, Nullable<TimeSpan> holdTime = null, Nullable<TimeSpan> hangTime = null, int steps = 1, Action afterStepAction = null);
member this.DragAndDrop : string * string * Xamarin.UITest.Android.DropLocation * Nullable<TimeSpan> * Nullable<TimeSpan> * int * Action -> unit
Public Sub DragAndDrop (fromMarked As String, toMarked As String, Optional placement As DropLocation = Xamarin.UITest.Android.DropLocation.OnTop, Optional holdTime As Nullable(Of TimeSpan) = null, Optional hangTime As Nullable(Of TimeSpan) = null, Optional steps As Integer = 1, Optional afterStepAction As Action = null)

매개 변수

fromMarked
String

끌 항목에 대해 표시된 선택기입니다. 자세한 내용은 Marked(String) 을 참조하세요.

toMarked
String

삭제할 항목의 위치에 대한 선택기가 표시됩니다. 자세한 내용은 Marked(String) 을 참조하세요.

placement
DropLocation

쿼리할 를 기준으로 드롭의 배치(위쪽, 위, 아래, 왼쪽, 오른쪽)입니다.

holdTime
Nullable<TimeSpan>

from 쿼리를 보류할 시간

hangTime
Nullable<TimeSpan>

쿼리할 시간

steps
Int32

항목을 끌려는 단계의 수이며, 느린 끌기를 위해 더 높습니다.

afterStepAction
Action

각 단계 후에 수행할 작업

적용 대상

DragAndDrop(Func<AppQuery,AppQuery>, Func<AppQuery,AppQuery>, DropLocation, Nullable<TimeSpan>, Nullable<TimeSpan>, Int32, Action)

> 항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

public void DragAndDrop (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> from, Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> to, Xamarin.UITest.Android.DropLocation placement = Xamarin.UITest.Android.DropLocation.OnTop, Nullable<TimeSpan> holdTime = null, Nullable<TimeSpan> hangTime = null, int steps = 1, Action afterStepAction = null);
member this.DragAndDrop : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Xamarin.UITest.Android.DropLocation * Nullable<TimeSpan> * Nullable<TimeSpan> * int * Action -> unit
Public Sub DragAndDrop (from As Func(Of AppQuery, AppQuery), to As Func(Of AppQuery, AppQuery), Optional placement As DropLocation = Xamarin.UITest.Android.DropLocation.OnTop, Optional holdTime As Nullable(Of TimeSpan) = null, Optional hangTime As Nullable(Of TimeSpan) = null, Optional steps As Integer = 1, Optional afterStepAction As Action = null)

매개 변수

from
Func<AppQuery,AppQuery>

끌 항목의 쿼리

to
Func<AppQuery,AppQuery>

삭제할 항목의 위치 쿼리

placement
DropLocation

쿼리할 를 기준으로 드롭의 배치(위쪽, 위, 아래, 왼쪽, 오른쪽)입니다.

holdTime
Nullable<TimeSpan>

from 쿼리를 보류할 시간

hangTime
Nullable<TimeSpan>

쿼리할 시간

steps
Int32

항목을 끌려는 단계의 수이며, 느린 끌기를 위해 더 높습니다.

afterStepAction
Action

각 단계 후에 수행할 작업

적용 대상

DragAndDrop(Func<AppQuery,AppQuery>, Func<AppQuery,AppQuery>)

> 항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

public void DragAndDrop (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> from, Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> to);
abstract member DragAndDrop : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> -> unit
override this.DragAndDrop : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> -> unit
Public Sub DragAndDrop (from As Func(Of AppQuery, AppQuery), to As Func(Of AppQuery, AppQuery))

매개 변수

from
Func<AppQuery,AppQuery>

끌 항목의 쿼리

to
Func<AppQuery,AppQuery>

삭제할 항목의 위치 쿼리

구현

적용 대상

DragAndDrop(String, String)

> 항목에 긴 터치를 수행한 다음 항목을 두 번째 항목으로 끌어서 놓습니다.

public void DragAndDrop (string from, string to);
abstract member DragAndDrop : string * string -> unit
override this.DragAndDrop : string * string -> unit
Public Sub DragAndDrop (from As String, to As String)

매개 변수

from
String

from 요소의 표시된 선택기입니다.

to
String

to 요소의 표시된 선택기입니다.

구현

적용 대상