title: WPF layout problem with Grid.IsSharedSizeScope and ItemsControl.ItemTemplate
body: <p>I'm trying to use Grid.IsSharedSizeScope to line up databound controls displayed by an ItemsControl next to some contols in the first column of a Grid.</p>
  
  <p>The problem is I can't prevent the controls continuously growing vertically.</p>
  
  <p>How do I stop them from doing this without setting MaxHeight properties.  I've tried different settings of VerticalAlignment and VerticalContentAlignment in various places but can't figure it out.</p>
  
  <pre><code>&lt;Grid Grid.IsSharedSizeScope="True" &gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition SharedSizeGroup="RowOne" /&gt;
          &lt;RowDefinition SharedSizeGroup="RowTwo" /&gt;
          &lt;RowDefinition SharedSizeGroup="RowThree" /&gt;
      &lt;/Grid.RowDefinitions&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="Auto" /&gt;
          &lt;ColumnDefinition Width="Auto" /&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;SomeControl Grid.Row="0" Grid.Column="0" /&gt;
      &lt;SomeControl Grid.Row="1" Grid.Column="0" /&gt;
      &lt;ItemsControl Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" ItemsSource="{Binding Path=SomeSource}" ItemsPanel="{StaticResource MyHorizontalStackPanel}" &gt;
              &lt;ItemsControl.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;Grid&gt;
                          &lt;Grid.RowDefinitions&gt;
                              &lt;RowDefinition SharedSizeGroup="RowOne" /&gt;
                              &lt;RowDefinition SharedSizeGroup="RowTwo" /&gt;
                              &lt;RowDefinition SharedSizeGroup="RowThree" /&gt;
                          &lt;/Grid.RowDefinitions&gt;
                          &lt;SomeControl Grid.Row="0" /&gt;
                          &lt;SomeControl Grid.Row="1" /&gt;
                          &lt;SomeControl Grid.Row="2" /&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ItemsControl.ItemTemplate&gt;
          &lt;/ItemsControl&gt;
      &lt;/Grid&gt;
  </code></pre>