title: Scrolling a TextBlock
body: <p>I have a TextBlock and a Textbox in the same location. Depending on what mode the user is in, I make one visible and the other collapsed. This is working fine, but how can I make the Textblock scrollable? I figured I should use a ScrollViewer, but I don't know why it's not working. I've tried messing around with the height (auto and fixed), but it won't scroll. My xaml is this:</p>
  
  <pre><code>&lt;ScrollViewer x:Name="detailsScroller" Height="285" Width="480"  Canvas.Top="76" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"&gt;
      &lt;Canvas x:Name="infoCanvas" Width="478"  &gt;
       &lt;TextBlock x:Name="textblockInfo" TextWrapping="Wrap"  Width="462" Height="197"  Canvas.Left="8"/&gt;
       &lt;TextBox x:Name="textboxInfo" TextWrapping="Wrap"  Width="478" AcceptsReturn="True" Height="300" Visibility="Collapsed" /&gt;
      &lt;/Canvas&gt;
  &lt;/ScrollViewer&gt;
  </code></pre>
  
  <p>Thanks!</p>