Show elipses where text will be truncated as per iTunes

Posted by Burt on Stack Overflow See other posts from Stack Overflow or by Burt
Published on 2010-06-05T23:27:02Z Indexed on 2010/06/05 23:32 UTC
Read the original article Hit count: 151

Filed under:
|
|

I a building an application with a similar layout to iTunes i.e. it has a sidebar that doubles as a menu. Some of the text will exceed the boundary and rather that having it be truncated I would like to show ellipses (see line image below "Purchased on My iPh...").

iTunes

How would I go about this in WPF?

Suppose I made the boundary movable i.e. user can change the size of the panel (split panel in Windows Forms), how would I go about dynamically showing the ellipses/text?

Thanks in advance,

B

© Stack Overflow or respective owner

Related posts about wpf

Related posts about Silverlight