How can I determine if my TextBlock text is being trimmed?
19:34 24 Jun 2009

The following textblock wraps and trims as expected. The elipsis "..." is displayed when the text is trimmed.


I would like to display a tooltip over the text with the full text, but only if the text is trimmed. I'm not sure how to reliably determine if the "..." is being shown or not.

How do I determine if the text is being trimmed or not?

wpf textblock