Share via


UIElementAutomationPeer.GetBoundingRectangleCore 方法

定義

取得 Rect,代表與此 UIElementAutomationPeer 相關聯的 UIElement 週框。 這個方法是由 GetBoundingRectangle() 所呼叫。

protected:
 override System::Windows::Rect GetBoundingRectangleCore();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override System.Windows.Rect GetBoundingRectangleCore ();
protected override System.Windows.Rect GetBoundingRectangleCore ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
Protected Overrides Function GetBoundingRectangleCore () As Rect

傳回

Rect

Rect,包含項目的座標。 (選擇性) 如果項目不是 HwndSourcePresentationSource,這個方法會傳回 Empty

屬性

適用於