Share via


Gesture.Swipe 메서드 (UITestControl, Double, Int32)

손가락으로 짧은 거리 만큼의 빠른 슬라이드는 스와이프 제스처를 수행 합니다. 예를 들어, 타일을 선택 합니다 선택 아래로 스와이프 또는 받은 편지함에서 전자 메일을 통해 휘 둘러 칠.

네임스페이스:  Microsoft.VisualStudio.TestTools.UITesting
어셈블리:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

구문

‘선언
Public Shared Sub Swipe ( _
    control As UITestControl, _
    directionInDegrees As Double, _
    swipeLength As Integer _
)
public static void Swipe(
    UITestControl control,
    double directionInDegrees,
    int swipeLength
)
public:
static void Swipe(
    UITestControl^ control, 
    double directionInDegrees, 
    int swipeLength
)
static member Swipe : 
        control:UITestControl * 
        directionInDegrees:float * 
        swipeLength:int -> unit
public static function Swipe(
    control : UITestControl, 
    directionInDegrees : double, 
    swipeLength : int
)

매개 변수

  • directionInDegrees
    형식: Double

    방향에도 스와이프 제스처입니다. [0,360] 사이의 값 첫 부분이 있습니다.

  • swipeLength
    형식: Int32

    길이에 스와이프 (픽셀 단위)입니다.

설명

스와이프 제스처의 재생 화면 해상도에 따라 달라 집니다. 해상도 변경 하는 경우 매개 변수를 변경 할 수 있습니다.

.NET Framework 보안

참고 항목

참조

Gesture 클래스

Swipe 오버로드

Microsoft.VisualStudio.TestTools.UITesting 네임스페이스