title: Layout cycle detected error with two progressRings
body: <p>I want to create a custom user control with two grids in which I want to load images and until images are loaded I want to show the progressRing control. The problem occurs when I add a second ProgressRing. My XAML looks like this:</p>
  
  <pre><code>&lt;Grid Margin="0,0,0,21" Background="{ThemeResource PhoneAccentBrush}"&gt;
  
          &lt;Grid x:Name="leftImage" Margin="10" Width="190" Height="190" 
                HorizontalAlignment="Left"&gt;
              &lt;Image x:Name="imageHolderLeft" x:FieldModifier="public" Width="180"         
                     Height="180" ImageFailed="imageHolderLeft_ImageFailed" 
                     ImageOpened="imageHolderLeft_ImageOpened"/&gt;
              &lt;Grid&gt;
                  &lt;ProgressRing x:Name="waitImageLeft" IsActive="True" 
                                VerticalAlignment="Center" HorizontalAlignment="Center" 
                                Background="Transparent" 
                                Foreground="{ThemeResource AppBarBackgroundThemeBrush}"/&gt;
              &lt;/Grid&gt;
          &lt;/Grid&gt;
  
          &lt;Grid x:Name="rightImage" Margin="10" Width="190" Height="190" 
                HorizontalAlignment="Right"&gt;
              &lt;Image x:Name="imageHolderRight" x:FieldModifier="public" Width="180" 
                     Height="180" ImageOpened="imageHolderRight_ImageOpened" 
                     ImageFailed="imageHolderRight_ImageFailed"/&gt;
              &lt;Grid&gt;
                  &lt;ProgressRing x:Name="waitImageRight" IsActive="True" 
                                VerticalAlignment="Center" HorizontalAlignment="Center" 
                                Background="Transparent" 
                                Foreground="{ThemeResource AppBarBackgroundThemeBrush}"/&gt;
              &lt;/Grid&gt;
          &lt;/Grid&gt;
  
      &lt;/Grid&gt;
  </code></pre>
  
  <p>So when I comment out one <code>ProgressRing</code> it works fine, but when there are two of them my program crashes with the following error: <code>Layout cycle detected. Layout could not complete</code></p>
  
  <p>Does anyone knows why?
  Thanks :)</p>