Simulate mouse click at the center of the control

Namespace:  QAliber.Engine.Controls
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public virtual void Click(
	MouseButtons button
)
Visual Basic (Declaration)
Public Overridable Sub Click ( _
	button As MouseButtons _
)
Visual C++
public:
virtual void Click(
	MouseButtons button
)

Parameters

button
Type: System.Windows.Forms..::.MouseButtons
The mouse button to be clicked

Examples

CopyC#
Desktop.UIA.Click(MouseButtons.Right);

See Also