Share via


ItemAutomationPeer.GetBoundingRectangleCore 方法

定義

取得 Rect,表示指定之 UIElement 的週框 (Bounding Rectangle)。

protected:
 override System::Windows::Rect GetBoundingRectangleCore();
protected override System.Windows.Rect GetBoundingRectangleCore ();
override this.GetBoundingRectangleCore : unit -> System.Windows.Rect
Protected Overrides Function GetBoundingRectangleCore () As Rect

傳回

Rect

週框。

備註

UIElement 會對應至與 Items 相關聯之 ItemAutomationPeer 集合中的資料項目。 這個方法是由 GetBoundingRectangle 所呼叫。

適用於

另請參閱