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