Click or drag to resize

IControlDrag Method (Int32, Int32, Int32, Int32, ShiftKey)

Simulates a left-button mouse drag in a window or control.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void Drag(
	int clientX,
	int clientY,
	int toX,
	int toY,
	ShiftKey shift
)

Parameters

clientX
Type: SystemInt32
The X coordinate of the start position.
clientY
Type: SystemInt32
The Y coordinate of the start position.
toX
Type: SystemInt32
The X coordinate of the end position.
toY
Type: SystemInt32
The Y coordinate of the end position.
shift
Type: SmartBear.TestLeft.TestObjectsShiftKey
The button that is pressed when a click is performed.
See Also