Share via


Gesture.PressAndHold Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member PressAndHold(Point) Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu.
Public methodStatic member PressAndHold(UITestControl) Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu.
Public methodStatic member PressAndHold(UITestControl, Point) Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu.
Public methodStatic member PressAndHold(UITestControl, Point, Int32) Perform a press and hold gesture which is mainly associated with activating a tooltip or a context menu.

Top

See Also

Reference

Gesture Class

Microsoft.VisualStudio.TestTools.UITesting Namespace