Share via


DragDropAction.TargetElement Property

Gets or sets the element where the drag drop operation starts.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
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)

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
The source UI element.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

DragDropAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITechnologyElement

PropertyChanged