Konstruktor DragDropAction — (UITechnologyElement, UITechnologyElement, MouseButtons)
Inicjuje nowe wystąpienie DragDropAction klasy przy użyciu dostarczonego elementów i ustawienie przycisku myszy.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Składnia
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
)
Parametry
- sourceUIElement
A UITechnologyElement obiekt, który reprezentuje element, w którym rozpoczyna się operacji przeciągania.
- targetUIElement
A UITechnologyElement obiekt, który reprezentuje element, w którym kończy się operacji przeciągania.
- mouseButton
Członek MouseButtons wyliczenia wskazująca jest wciśnięty przycisk myszy, które.
Zobacz też
UITechnologyElement
MouseButtons
DragDropAction Przeciążenie
Klasa DragDropAction
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common
Powrót do początku