Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Perform a slide gesture. A slide gesture is used primarily for panning interactions but can also be used for moving, drawing, or writing.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Shared Sub Slide ( _
startPoint As Point, _
endPoint As Point _
)
public static void Slide(
Point startPoint,
Point endPoint
)
public:
static void Slide(
Point startPoint,
Point endPoint
)
static member Slide :
startPoint:Point *
endPoint:Point -> unit
public static function Slide(
startPoint : Point,
endPoint : Point
)
Parameters
startPoint
Type: Microsoft.VisualStudio.TestTools.UITest.Input.PointThe coordinates on the screen where sliding is to begin.
endPoint
Type: Microsoft.VisualStudio.TestTools.UITest.Input.PointThe coordinates on the screen where sliding is to end.
Remarks
Playback of a slide gesture depends on screen resolution. If the resolution changes, the parameters may have to be changed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.