GetBoundingRectangle Method

AutomationPeer.GetBoundingRectangle Method

Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

public Rect GetBoundingRectangle()

Return Value

Type: System.Windows.Rect
The bounding rectangle.

This implementation does nothing more than calling GetBoundingRectangleCore.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft