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