Share via


Mouse.StartDragging Method

Include Protected Members
Include Inherited Members

Starts dragging the mouse.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member StartDragging() Starts dragging the mouse.
Public methodStatic member StartDragging(UITestControl) Starts dragging the mouse from the specified control.
Public methodStatic member StartDragging(UITestControl, Point) Starts dragging the mouse from the specified point that is relative to the specified control or from an absolute control, if control is nulla null reference (Nothing in Visual Basic).
Public methodStatic member StartDragging(UITestControl, MouseButtons) Starts dragging the mouse while holding down the specified mouse buttons from the specified control.
Public methodStatic member StartDragging(UITestControl, Point, MouseButtons, ModifierKeys) Starts dragging the mouse while holding down the specified mouse buttons and the specified keys from the specified point that is relative to the specified control or from an absolute control, if control is nulla null reference (Nothing in Visual Basic).

Top

See Also

Reference

Mouse Class

Microsoft.VisualStudio.TestTools.UITesting Namespace