// Token: 0x06002D86 RID: 11654 RVA: 0x000CD0D8 File Offset: 0x000CB2D8 protected override Size ArrangeOverride(Size arrangeSize) { foreach (object obj in this.Children) { UIElement uielement = (UIElement)obj; double x = 0.0; double y = 0.0; double left = FixedPage.GetLeft(uielement); if (!DoubleUtil.IsNaN(left)) { x = left; } else { double right = FixedPage.GetRight(uielement); if (!DoubleUtil.IsNaN(right)) { x = arrangeSize.Width - uielement.DesiredSize.Width - right; } } double top = FixedPage.GetTop(uielement); if (!DoubleUtil.IsNaN(top)) { y = top; } else { double bottom = FixedPage.GetBottom(uielement); if (!DoubleUtil.IsNaN(bottom)) { y = arrangeSize.Height - uielement.DesiredSize.Height - bottom; } } uielement.Arrange(new Rect(new Point(x, y), uielement.DesiredSize)); } return(arrangeSize); }