title: Can you limit the length of Text visible in a WPF TextBlock?
body: <p>I have a listbox that is bound to a database query result. I'm using an item template that shows the subject on one line and I want it to show preview of the body on another line. What I'm wondering is that-- obviously the body is going to be way too long to fit in there, can I somehow set it to only display the first so many characters and append an ellipses after that, like a preview? Or even something close would be fine. So for example:</p>
  
  <p>Instead of displaying:</p>
  
  <blockquote>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
    vitae eros nibh. Pellentesque habitant morbi tristique senectus et
    netus et malesuada fames ac turpis egestas. Donec augue metus, iaculis
    id porta non, pellentesque quis turpis. Donec rutrum diam eget tortor
    bibendum vel blandit odio iaculis. Curabitur pretium adipiscing orci,
    ut pulvinar justo vehicula non. Mauris nec ipsum velit. Sed et auctor
    nibh. Proin ac ultricies tellus.</p>
  </blockquote>
  
  <p>It would display something like</p>
  
  <blockquote>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Suspendisse...</p>
  </blockquote>
  
  <p>any ideas?</p>