title: How to add a ScrollBar to a StackPanel in Silverlight?
body: <p>I have a <code>Grid</code>, 3 by 3 (3 RowDefinitions and 3 ColumnDefinitions). I want some content (a <code>StackPanel</code>) in one of those grid cells to scroll. I'm fairly sure this is possible but I cannot figure out how. I've tried adding <code>ScrollViewers</code> and <code>ScrollBar</code> controls to the grid cell I want to scroll, but this usually ends up creating scrolling for the entire page.</p>
  
  <p>Edit:
  My issue is more specificlly how I can get scrolling over a <code>StackPanel</code>. An example if the issue I am having is here:</p>
  
  <pre><code>&lt;Grid x:Name="LayoutRoot"&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition/&gt;
          &lt;ColumnDefinition/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition/&gt;
          &lt;RowDefinition/&gt;
      &lt;/Grid.RowDefinitions&gt;
  
      &lt;Grid&gt;
          &lt;TextBlock FontSize="16"&gt;1,1&lt;/TextBlock&gt;
      &lt;/Grid&gt;
      &lt;Grid Grid.Column="1"&gt;
          &lt;TextBlock FontSize="16"&gt;1,2&lt;/TextBlock&gt;
      &lt;/Grid&gt;
      &lt;Grid Grid.Row="1"&gt;
          &lt;TextBlock FontSize="16"&gt;2,1&lt;/TextBlock&gt;
      &lt;/Grid&gt;
      &lt;Grid Grid.Column="1" Grid.Row="1"&gt;
          &lt;StackPanel&gt;
              &lt;TextBlock&gt;Title&lt;/TextBlock&gt;
              &lt;Grid&gt;
                  &lt;ScrollViewer&gt;
                      &lt;StackPanel&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                          &lt;TextBlock FontSize="32"&gt;2,2&lt;/TextBlock&gt;
                      &lt;/StackPanel&gt;
                  &lt;/ScrollViewer&gt;
              &lt;/Grid&gt;
          &lt;/StackPanel&gt;
      &lt;/Grid&gt;
  &lt;/Grid&gt;
  </code></pre>