/// <exclude/> protected override Size ArrangeOverride(Size finalSize) { UIElement licenseErrorElement = null; CheckLicense(ref licenseErrorElement); if (licenseErrorElement != null) { licenseErrorElement.Arrange(new Rect(0, 0, finalSize.Width, finalSize.Height)); return(finalSize); } Rect splitterRect; GetRects(finalSize, out _child1Rect, out splitterRect, out _child2Rect); if (Child1 != null) { Child1.Arrange(_child1Rect); } if (SplitterPresenter != null) { SplitterPresenter.Arrange(splitterRect); } if (Child2 != null) { Child2.Arrange(_child2Rect); } return(finalSize); }