A complete solution would be a like the LineBreakMode in Label with the values
* NoWrap
* Head-, Middle- and Tailtruncation
* WordWrap