title: How to scroll to the bottom of a ScrollViewer automatically with Xaml and binding?
body: <p>I've got a <code>TextBlock</code> whose content is data bound to a string property of the ViewModel. This <code>TextBlock</code> has a <code>ScrollViewer</code> wrapped around it.</p>
  
  <p>What I want to do is every time the logs change, the <code>ScrollViewer</code> will scroll to the bottom. Ideally I want something like this:</p>
  
  <pre><code>    &lt;ScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Auto"
                    ScrollPosition="{Binding Path=ScrollPosition}"&gt;
          &lt;TextBlock Text="{Binding Path=Logs}"/&gt;
      &lt;/ScrollViewer&gt;
  </code></pre>
  
  <p>I <strong>don't</strong> want to use Code Behind! The solution I'm looking for should be using <strong>only</strong> binding and/or Xaml.</p>