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
override BoundingRectangle : Rectangle
function get BoundingRectangle () : Rectangle

Property Value

Type: System.Drawing.Rectangle
The Bounding rectangle for this control.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace