title: How to make a certain section scrollable
body: <p>I have got the following XAML:</p>
  
  <pre><code>    &lt;StackPanel HorizontalAlignment="Center"&gt;
        &lt;Image Name="logo" Source="logo.png" Margin="0,0,0,50"/&gt;
        &lt;ScrollViewer&gt;
          &lt;Dashboard_Control:AlignableWrapPanel x:Name="wrapPanel"/&gt;
        &lt;/ScrollViewer&gt;
        &lt;TextBlock FontWeight="Bold" HorizontalAlignment="Center" x:Name="txtBottomText"&gt;&lt;/TextBlock&gt;
      &lt;/StackPanel&gt;
  </code></pre>
  
  <p>I would like that the <code>wrapPanel</code> is scrollable only, so that the <code>txtBottomText</code> control will always be at the bottom as you scroll, and the <code>logo</code> image control will always be at the top - essentially only allowing the <code>wrapPanel</code> to be scrollable.</p>
  
  <p>I have tried adding a ScrollViewer as shown above, however it never shows.  I even tried adding a property to always have the vertical scrollbar, however it appears without letting me scroll (the scrollbar is disabled).</p>
  
  <p>I suspect that this is because my wrapPanel's content is dynamically generated at run-time like so:</p>
  
  <pre><code>wrapPanel.Children.Add(content);
  </code></pre>
  
  <p>Any ideas what I can do to fix this?</p>