Mouse.Click Mouse.Click Mouse.Click Mouse.Click Method

Definition

Overloads

Click() Click() Click() Click()
Click(UITestControl) Click(UITestControl) Click(UITestControl) Click(UITestControl)
Click(Point) Click(Point) Click(Point) Click(Point)
Click(MouseButtons) Click(MouseButtons) Click(MouseButtons) Click(MouseButtons)
Click(ModifierKeys) Click(ModifierKeys) Click(ModifierKeys)
Click(UITestControl, Point) Click(UITestControl, Point) Click(UITestControl, Point) Click(UITestControl, Point)
Click(UITestControl, MouseButtons) Click(UITestControl, MouseButtons) Click(UITestControl, MouseButtons) Click(UITestControl, MouseButtons)
Click(UITestControl, ModifierKeys) Click(UITestControl, ModifierKeys) Click(UITestControl, ModifierKeys)
Click(MouseButtons, ModifierKeys, Point) Click(MouseButtons, ModifierKeys, Point) Click(MouseButtons, ModifierKeys, Point)
Click(UITestControl, MouseButtons, ModifierKeys, Point) Click(UITestControl, MouseButtons, ModifierKeys, Point) Click(UITestControl, MouseButtons, ModifierKeys, Point)

Click() Click() Click() Click()

public:
 static void Click();
public static void Click ();
static member Click : unit -> unit
Public Shared Sub Click ()

Click(UITestControl) Click(UITestControl) Click(UITestControl) Click(UITestControl)

public:
 static void Click(Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^ control);
public static void Click (Microsoft.VisualStudio.TestTools.UITesting.UITestControl control);
static member Click : Microsoft.VisualStudio.TestTools.UITesting.UITestControl -> unit
Public Shared Sub Click (control As UITestControl)

Parameters

Click(Point) Click(Point) Click(Point) Click(Point)

public:
 static void Click(System::Drawing::Point screenCoordinate);
public static void Click (System.Drawing.Point screenCoordinate);
static member Click : System.Drawing.Point -> unit
Public Shared Sub Click (screenCoordinate As Point)

Parameters

screenCoordinate
Point Point Point Point

Click(MouseButtons) Click(MouseButtons) Click(MouseButtons) Click(MouseButtons)

public:
 static void Click(System::Windows::Forms::MouseButtons button);
public static void Click (System.Windows.Forms.MouseButtons button);
static member Click : System.Windows.Forms.MouseButtons -> unit
Public Shared Sub Click (button As MouseButtons)

Parameters

Click(ModifierKeys) Click(ModifierKeys) Click(ModifierKeys)

public:
 static void Click(System::Windows::Input::ModifierKeys modifierKeys);
public static void Click (System.Windows.Input.ModifierKeys modifierKeys);
static member Click : System.Windows.Input.ModifierKeys -> unit

Parameters

Click(UITestControl, Point) Click(UITestControl, Point) Click(UITestControl, Point) Click(UITestControl, Point)

public:
 static void Click(Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^ control, System::Drawing::Point relativeCoordinate);
public static void Click (Microsoft.VisualStudio.TestTools.UITesting.UITestControl control, System.Drawing.Point relativeCoordinate);
static member Click : Microsoft.VisualStudio.TestTools.UITesting.UITestControl * System.Drawing.Point -> unit
Public Shared Sub Click (control As UITestControl, relativeCoordinate As Point)

Parameters

relativeCoordinate
Point Point Point Point

Click(UITestControl, MouseButtons) Click(UITestControl, MouseButtons) Click(UITestControl, MouseButtons) Click(UITestControl, MouseButtons)

public:
 static void Click(Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^ control, System::Windows::Forms::MouseButtons button);
public static void Click (Microsoft.VisualStudio.TestTools.UITesting.UITestControl control, System.Windows.Forms.MouseButtons button);
static member Click : Microsoft.VisualStudio.TestTools.UITesting.UITestControl * System.Windows.Forms.MouseButtons -> unit
Public Shared Sub Click (control As UITestControl, button As MouseButtons)

Parameters

Click(UITestControl, ModifierKeys) Click(UITestControl, ModifierKeys) Click(UITestControl, ModifierKeys)

public:
 static void Click(Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^ control, System::Windows::Input::ModifierKeys modifierKeys);
public static void Click (Microsoft.VisualStudio.TestTools.UITesting.UITestControl control, System.Windows.Input.ModifierKeys modifierKeys);
static member Click : Microsoft.VisualStudio.TestTools.UITesting.UITestControl * System.Windows.Input.ModifierKeys -> unit

Parameters

Click(MouseButtons, ModifierKeys, Point) Click(MouseButtons, ModifierKeys, Point) Click(MouseButtons, ModifierKeys, Point)

public:
 static void Click(System::Windows::Forms::MouseButtons button, System::Windows::Input::ModifierKeys modifierKeys, System::Drawing::Point screenCoordinate);
public static void Click (System.Windows.Forms.MouseButtons button, System.Windows.Input.ModifierKeys modifierKeys, System.Drawing.Point screenCoordinate);
static member Click : System.Windows.Forms.MouseButtons * System.Windows.Input.ModifierKeys * System.Drawing.Point -> unit

Parameters

screenCoordinate
Point Point Point Point

Click(UITestControl, MouseButtons, ModifierKeys, Point) Click(UITestControl, MouseButtons, ModifierKeys, Point) Click(UITestControl, MouseButtons, ModifierKeys, Point)

public:
 static void Click(Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^ control, System::Windows::Forms::MouseButtons button, System::Windows::Input::ModifierKeys modifierKeys, System::Drawing::Point relativeCoordinate);
public static void Click (Microsoft.VisualStudio.TestTools.UITesting.UITestControl control, System.Windows.Forms.MouseButtons button, System.Windows.Input.ModifierKeys modifierKeys, System.Drawing.Point relativeCoordinate);
static member Click : Microsoft.VisualStudio.TestTools.UITesting.UITestControl * System.Windows.Forms.MouseButtons * System.Windows.Input.ModifierKeys * System.Drawing.Point -> unit

Parameters

relativeCoordinate
Point Point Point Point

Applies to