Bagikan melalui


UITestControl.BoundingRectangle Property

Gets the Bounding rectangle for this control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property BoundingRectangle As Rectangle
public virtual Rectangle BoundingRectangle { get; }
public:
virtual property Rectangle BoundingRectangle {
    Rectangle get ();
}
abstract BoundingRectangle : Rectangle with get 
override BoundingRectangle : Rectangle with get
function get BoundingRectangle () : Rectangle

Property Value

Type: Rectangle
The Bounding rectangle for this control.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace