AutomationElement.AutomationElementInformation.BoundingRectangle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the coordinates of the rectangle that completely encloses the element.
public:
property System::Windows::Rect BoundingRectangle { System::Windows::Rect get(); };
public System.Windows.Rect BoundingRectangle { get; }
member this.BoundingRectangle : System.Windows.Rect
Public ReadOnly Property BoundingRectangle As Rect
Property Value
The point coordinates of the enclosing rectangle.
Remarks
The returned rectangle can contain points that are not clickable. Instances where this could happen are when the user interface (UI) item has an irregular shape or clickable region, or it is obscured by other UI elements.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.