Make TextBlocks fade out at the edge if text overflows. For Silverlight and WPF
C#
Switch branches/tags
Nothing to show
Clone or download
samueldjack Improved performance by removing bindings between the tooltip and the…
… style and text properties. We just set them directly instead.

This should also fix the bug that was reported for Silverlight 4 caused by binding in code to a custom attached property: (http://connect.microsoft.com/VisualStudio/feedback/details/674309/silverlight-unable-bind-with-custom-attached-properties-in-code-behind)

The one downside of this change is a corner case that results in incorrect behavior: if the text of the textbox changes, and it happens to be exactly the same size when rendered as the previous string then the tooltip of the textbox isn't updated.
Latest commit 90d5eab Jun 8, 2012