WatermarkedTextBox for Silverlight 2 Beta 2
One breaking change you may have noticed between Silverlight 2 Beta 1 and Beta 2 is that WatermarkedTextBox is no longer available in the Silverlight SDK (System.Windows.Controls.Extended.dll).
We decided to remove the control because in a future version of Silverlight, we will be adding a “Watermark” property to TextBox. Given this upcoming change, it does not make sense to have "WatermarkedTextBox" as a separate control, so we decided to remove the control from Silverlight 2.
Kathy has all the details on her blog, but you can download the WatermarkedTextBox source code and unit test here.
Comments
Anonymous
June 24, 2008
PingBack from http://blogs.msdn.com/brada/archive/2008/06/24/watermarkedtextbox-for-silverlight-2-beta-2.aspxAnonymous
June 24, 2008
The comment has been removedAnonymous
June 24, 2008
The comment has been removedAnonymous
June 24, 2008
Silverlight 2.0: La desaparecida WatermarkedTextBoxAnonymous
June 25, 2008
The comment has been removedAnonymous
June 25, 2008
The comment has been removedAnonymous
July 17, 2008
Sorry for bringing that up again, but in my opinion "[...] a TextBlock whose visibility is bound to the IsEmpty property of an overlaid transparent TextBox [...]" is just dirty and I prefer to drop the feature than to implement it that way. Cheers, Matt