Gesture Class
Contains static methods for performing Touch gestures.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.Gesture
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public NotInheritable Class Gesture
public sealed class Gesture
public ref class Gesture sealed
[<Sealed>]
type Gesture = class end
public final class Gesture
The Gesture type exposes the following members.
Methods
Name | Description | |
---|---|---|
DoubleTap(Point) | Perform a double tap gesture. | |
DoubleTap(UITestControl) | Perform a double tap gesture. | |
DoubleTap(UITestControl, Point) | Perform a double tap gesture. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Flick(Point, Int32, UITestGestureDirection, Int32) | Perform a flick gesture which is associated with quickly moving your finger in the direction you want resulting in a rapid scroll. | |
Flick(Point, Int32, Double, Int32) | Perform a flick gesture which is associated with quickly moving your finger in the direction you want resulting in a rapid scroll. | |
Flick(UITestControl, Point, Int32, UITestGestureDirection, Int32) | Perform a flick gesture which is associated with quickly moving your finger in the direction you want resulting in a rapid scroll. | |
Flick(UITestControl, Point, Int32, Double, Int32) | Perform a flick gesture which is associated with quickly moving your finger in the direction you want resulting in a rapid scroll. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Pinch(Point, Point, UInt32) | Perform a pinch gesture which essentially is used for three types of interactions: optical zoom, resizing, and semantic zoom. | |
Pinch(UITestControl, Point, Point, UInt32) | Perform a pinch gesture which essentially is used for three types of interactions: optical zoom, resizing, and semantic zoom. | |
PressAndHold(Point) | Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu. | |
PressAndHold(UITestControl) | Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu. | |
PressAndHold(UITestControl, Point) | Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu. | |
PressAndHold(UITestControl, Point, Int32) | Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu. | |
Slide(Point, Point) | Perform a slide gesture. A slide gesture is used primarily for panning interactions but can also be used for moving, drawing, or writing. | |
Slide(Point, Point, Int32) | Perform a slide gesture. A slide gesture is used primarily for panning interactions but can also be used for moving, drawing, or writing. | |
Slide(UITestControl, Point, Point) | Perform a slide gesture. A slide gesture is used primarily for panning interactions but can also be used for moving, drawing, or writing. | |
Slide(UITestControl, Point, Point, Int32) | Perform a slide gesture. A slide gesture is used primarily for panning interactions but can also be used for moving, drawing, or writing. | |
Stretch(Point, Point, UInt32) | Perform a stretch gesture which essentially is used for three types of interactions: optical zoom, resizing, and semantic zoom. | |
Stretch(UITestControl, Point, Point, UInt32) | Perform a stretch gesture which essentially is used for three types of interactions: optical zoom, resizing, and semantic zoom. | |
Swipe(UITestControl, UITestGestureDirection) | Perform a swipe gesture which is a quick slide of a finger for a short distance. For example, swipe across an email in your inbox to select it or swipe down on a tile to select it. | |
Swipe(UITestControl, Double) | Perform a swipe gesture which is a quick slide of a finger for a short distance. For example, swipe across an email in your inbox to select it or swipe down on a tile to select it. | |
Swipe(UITestControl, UITestGestureDirection, Int32) | Perform a swipe gesture which is a quick slide of a finger for a short distance. For example, swipe across an email in your inbox to select it or swipe down on a tile to select it. | |
Swipe(UITestControl, Double, Int32) | Perform a swipe gesture which is a quick slide of a finger for a short distance. For example, swipe across an email in your inbox to select it or swipe down on a tile to select it. | |
Tap(Point) | Perform a tap gesture. | |
Tap(UITestControl) | Perform a tap gesture. | |
Tap(UITestControl, Point) | Perform a tap gesture. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Turn(UITestControl, Double) | Perform a turn gesture. | |
Turn(Point, Point, Double) | Perform a turn gesture. | |
Turn(UITestControl, Point, Point, Double) | Perform a turn gesture. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.