UITestActionExecutor.DoubleClick Method (UITechnologyElement, MouseButtons, ModifierKeys, Point)
Double click the default mouse button.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public MustOverride Sub DoubleClick ( _
control As UITechnologyElement, _
button As MouseButtons, _
modifierKeys As ModifierKeys, _
relativeCoordinate As Point _
)
public abstract void DoubleClick(
UITechnologyElement control,
MouseButtons button,
ModifierKeys modifierKeys,
Point relativeCoordinate
)
public:
virtual void DoubleClick(
UITechnologyElement^ control,
MouseButtons button,
ModifierKeys modifierKeys,
Point relativeCoordinate
) abstract
abstract DoubleClick :
control:UITechnologyElement *
button:MouseButtons *
modifierKeys:ModifierKeys *
relativeCoordinate:Point -> unit
public abstract function DoubleClick(
control : UITechnologyElement,
button : MouseButtons,
modifierKeys : ModifierKeys,
relativeCoordinate : Point
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementControl to double click.
button
Type: MouseButtonsMouse button to double click.
modifierKeys
Type: ModifierKeysModifier keys to be pressed while double clicking
relativeCoordinate
Type: PointCo-ordinates relative to the control. If control is null, then it is taken as absolute co-ordinate.
.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.