Share via


MouseAction.Location Property

Gets or sets the relative location in the current element where the pointer operation occurred.

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

Syntax

'Declaration
Public Property Location As Point
public Point Location { get; set; }
public:
property Point Location {
    Point get ();
    void set (Point value);
}
member Location : Point with get, set
function get Location () : Point 
function set Location (value : Point)

Property Value

Type: Point
The relative element location of the mouse operation.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged

Point