AutomationElement.AutomationElementInformation.BoundingRectangle 屬性

定義

取得完全圍住項目的矩形座標。

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

屬性值

Rect

封入矩形的點座標。

備註

傳回的矩形可以包含不可點選的點。 當使用者介面 (UI) 專案有不規則的圖形或可點選區域,或是其他 UI 元素遮蔽時,就會發生此情況的實例。

適用於

另請參閱