FrameworkElement.ArrangeCore(Rect) 方法

定義

實作 ArrangeCore(Rect) (在 UIElement 內定義為 Virtual),並密封實作。Implements ArrangeCore(Rect) (defined as virtual in UIElement) and seals the implementation.

protected:
 override void ArrangeCore(System::Windows::Rect finalRect);
protected override sealed void ArrangeCore (System.Windows.Rect finalRect);
override this.ArrangeCore : System.Windows.Rect -> unit
Protected Overrides NotOverridable Sub ArrangeCore (finalRect As Rect)

參數

finalRect
Rect

父系內這個項目應該用來排列本身和其子系的最終區域。The final area within the parent that this element should use to arrange itself and its children.

備註

這個方法是密封的。This method is sealed. 為了明確地覆寫自訂專案中的邏輯以進行元素配置的排列傳遞,您的 FrameworkElement 衍生類別必須覆寫 ArrangeOverrideIn order to override the logic in your custom element specifically for the arrange pass of element layout, your FrameworkElement derived class must override ArrangeOverride.

適用於

另請參閱