Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the DragDropAction class by using the provided elements and mouse button setting.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
public DragDropAction(
UITechnologyElement sourceUIElement,
UITechnologyElement targetUIElement,
MouseButtons mouseButton
)
public:
DragDropAction(
UITechnologyElement^ sourceUIElement,
UITechnologyElement^ targetUIElement,
MouseButtons mouseButton
)
new :
sourceUIElement:UITechnologyElement *
targetUIElement:UITechnologyElement *
mouseButton:MouseButtons -> DragDropAction
Public Sub New (
sourceUIElement As UITechnologyElement,
targetUIElement As UITechnologyElement,
mouseButton As MouseButtons
)
Parameters
sourceUIElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object that represents the element on which the drag operation starts.
targetUIElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object that represents the element on which the drag operation ends.
mouseButton
Type: System.Windows.Forms.MouseButtonsA member of the MouseButtons enumeration that indicates which mouse button is pressed.
See Also
UITechnologyElement
MouseButtons
DragDropAction Overload
DragDropAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top