Selasa, 01 Februari 2011
Automatically Showing ToolTips on a Trimmed TextBlock (Silverlight + WPF)
Both WPF and Silverlight have a property TextTrimming=”WordEllipsis”, which trims the text that a TextBlock displays based on the available width. This blog post describes a simple method for automatically showing the full text as a tooltip whenever the text is trimmed. This is presented as an attached behaviour and works in both WPF and Silverlight A few weeks ago I blogged about a Silverlight
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar