Delen via


DragDropAction.TargetElementName Property

Gets or sets the name of 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 TargetElementName As String
public string TargetElementName { get; set; }
public:
property String^ TargetElementName {
    String^ get ();
    void set (String^ value);
}
member TargetElementName : string with get, set
function get TargetElementName () : String 
function set TargetElementName (value : String)

Property Value

Type: String
The name of 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