title: Limit the max number of chars per line in a textbox
body: <p>Say I have the following:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;TextBox TextWrapping="Wrap" 
           AcceptsReturn="True" 
           AcceptsTab="True" 
           MaxLines="3000"/&gt;
  </code></pre>
  
  <p>Is there a way I can limit the max number of chars per line to 60?  </p>
  
  <p>I have seen ways to do it via keydown events, but that does not seem to be foolproof (ie what about pasting in a long block of text).</p>