DragDropAction.TargetElement 属性

 

获取或设置在其中开始拖放操作的元素。

命名空间:   Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

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

属性值

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement

源 UI 元素。

备注

设置此属性将引发 PropertyChanged 事件。

请参阅

UITechnologyElement
PropertyChanged
DragDropAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首