FrameworkElement.ArrangeCore(Rect) 方法

定义

实现 ArrangeCore(Rect)(在 UIElement 中定义为虚拟对象)并密封实现。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.

适用于

另请参阅