title: Controlling a TextBox's scroll position from the ViewModel?
body: <p>Is there a solution that involves a WPF TextBox/Block that auto scrolls to the end via binding?  This can obviously be done in the code behind by calling the control directly, but how would one do this with Binding and MVVM?</p>
  
  <p>in the code behind that works (but I'd like to avoid that and use the VM to do everything)</p>
  
  <pre><code>  public void _readerService_BytesArrived(string s)
    {
       Action dispatcherAction = () =&gt;
       {
          txtBoxOutPut.AppendText(s);
          txtBoxOutPut.ScrollToEnd();
       };
       Dispatcher.Invoke(dispatcherAction);
    }
  </code></pre>