Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Perform a double tap gesture.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Shared Sub DoubleTap ( _
    control As UITestControl, _
    relativeCoordinates As Point _
)
public static void DoubleTap(
    UITestControl control,
    Point relativeCoordinates
)
public:
static void DoubleTap(
    UITestControl^ control, 
    Point relativeCoordinates
)
static member DoubleTap : 
        control:UITestControl * 
        relativeCoordinates:Point -> unit
public static function DoubleTap(
    control : UITestControl, 
    relativeCoordinates : Point
)
Parameters
- control 
 Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl- Control on which the double tap gesture is to be performed. 
- relativeCoordinates 
 Type: Microsoft.VisualStudio.TestTools.UITest.Input.Point- A point relative to the control coordinates, at which the double tap gesture will be performed. 
Remarks
Playback of a double tap 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.