protected void ArrangeBackground(Size finalSize) { if (BlockBackground != null) { BlockBackground.Arrange(new Rect(0, 0, finalSize.Width, finalSize.Height)); } }
protected void MeasureBackground() { if (BlockBackground != null) { BlockBackground.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity)); } }