DragAction Constructor (UITechnologyElement, MouseButtons)
Visual Studio 2010
Initializes a new instance of the DragAction class by using the provided element and buttons.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Parameters
- uiElement
- Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
A UITechnologyElement object.
- mouseButton
- Type: System.Windows.Forms.MouseButtons
A member of the MouseButtons enumeration that indicates which button is pressed.
- 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.