UIElementAutomationPeer.GetBoundingRectangleCore Method ()

 

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)

[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
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
Show: