DragAction.StartLocation 属性
获取或设置拖动操作的起点。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
声明
Public Property StartLocation As Point
Get
Set
public Point StartLocation { get; set; }
public:
property Point StartLocation {
Point get ();
void set (Point value);
}
member StartLocation : Point with get, set
function get StartLocation () : Point
function set StartLocation (value : Point)
属性值
类型:System.Drawing.Point
拖动操作的起点。
备注
引发 PropertyChanged 事件。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。