UIElementAutomationPeer.GetBoundingRectangleCore Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the Rect that represents the bounding rectangle of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetBoundingRectangle.

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

protected override Rect GetBoundingRectangleCore()

Return Value

Type: System.Windows.Rect

The Rect that contains the coordinates of the element. Optionally, if the element is not both a HwndSource and a PresentationSource, this method returns Empty.

.NET Framework
Available since 3.0
Return to top