获取或设置指针操作发生位置在当前元素内的相对位置。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public Point Location { get; set; }
public:
property Point Location {
Point get();
void set(Point value);
}
member Location : Point with get, set
Public Property Location As Point
属性值
Type: System.Drawing.Point
鼠标操作的相对元素位置。
备注
设置此属性将引发 PropertyChanged 事件。
请参阅
PropertyChanged
Point
MouseAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首