AutomationPeer.GetBoundingRectangle Method

Definition

获取表示与自动化同级关联的元素的屏幕坐标的 Rect 对象。Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.

public:
 System::Windows::Rect GetBoundingRectangle();
public System.Windows.Rect GetBoundingRectangle ();
member this.GetBoundingRectangle : unit -> System.Windows.Rect
Public Function GetBoundingRectangle () As Rect

Returns

Rect

绑定矩形。The bounding rectangle.

Applies to

See also