Udostępnij za pośrednictwem


Właściwość DragDropAction.TargetElement —

Pobiera lub ustawia element, gdzie rozpoczyna się operacji przeciągania upuszczania.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw:  Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Składnia

'Deklaracja
Public Property TargetElement As UITechnologyElement
public UITechnologyElement TargetElement { get; set; }
public:
property UITechnologyElement^ TargetElement {
    UITechnologyElement^ get ();
    void set (UITechnologyElement^ value);
}
member TargetElement : UITechnologyElement with get, set
function get TargetElement () : UITechnologyElement
function set TargetElement (value : UITechnologyElement)

Wartość właściwości

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
Element interfejsu użytkownika źródłowego.

Uwagi

Ustawienie tej właściwości stwarza PropertyChanged zdarzenia.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DragDropAction Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement

PropertyChanged