The WPF/Silverlight TextBox control lacks the TextTrimming property. Use a control template to add TextTrimming to TextBox.
Want more Silverlight tips and tricks? Watch my Silverlight 5 Essential Training course. We've all encountered the textbox that is too narrow to hold the text contents. Here's an example from Visual Studio 2010.
The default behavior of the textbox is to truncate the text. There is no visual feedback to the user that there is more text available, other than the textual context. In other words, it is up to the user, to perceive that there is additional text that is not visible in the control
Read More from: Original Source
Sunday, April 22, 2012
Home
Unlabelled
Using a Style to Simulate TextTrimming on TextBox
Using a Style to Simulate TextTrimming on TextBox
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment