Mouse::Click Method
Clicks the mouse button.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Click() | Clicks the default mouse button. |
![]() ![]() | Click(ModifierKeys) | Clicks the default mouse button while holding the specified modifier keys. |
![]() ![]() | Click(MouseButtons) | Clicks the specified mouse button. |
![]() ![]() | Click(MouseButtons, ModifierKeys, Point) | Clicks the specified mouse button while holding the specified modifier keys at the specified location. |
![]() ![]() | Click(Point) | Clicks the default mouse button at the specified location. |
![]() ![]() | Click(UITestControl^) | Clicks the default mouse button on the specified control. |
![]() ![]() | Click(UITestControl^, ModifierKeys) | Clicks the default mouse button on the specified control while holding the specified modifier keys. |
![]() ![]() | Click(UITestControl^, MouseButtons) | Clicks the specified mouse button on the specified control. |
![]() ![]() | Click(UITestControl^, MouseButtons, ModifierKeys, Point) | Clicks the specified mouse button on the specified control while holding the specified modifier keys at the specified location relative to that control. |
![]() ![]() | Click(UITestControl^, Point) | Clicks the default mouse button on the specified control at the specified location relative to that control. |

