The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Mouse::StartDragging Method (UITestControl^, MouseButtons)
Starts dragging the mouse while holding down the specified mouse buttons from the specified control.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Parameters
- control
-
Type:
Microsoft.VisualStudio.TestTools.UITesting::UITestControl^
UITestControl from which to start dragging.
- button
-
Type:
System.Windows.Forms::MouseButtons
MouseButtons to be pressed while dragging.
Show: