Skip to main content

Silverlight 2.0 will include a WatermarkedTextBox (a.k.a. InfoTextBox)

Since I’ve been trying to finish my latest project using WPF, Silverlight 2.0 excites me because I will be able to take a lot of stuff that I’ve done and learned and use it in Silverlight 2.0!  Scott Guthrie just posted a sneak peak into the latest offerings that will be coming in Beta 1 along with an 8 part tutorial taking you through the creation of a sample Digg app. 

In the 2nd part of the tutorial I noticed he included a “WatermarkedTextBox“.  This is an out-of-the-box (OOTB) control which basically adds the fancy faded text inside of a textbox that disappears when you start typing in it, to allow you to forego a label and minimize UI space needed.  In my current project I use the “InfoTextBox” provided by the WPF Bag O’ Tricks which does the same thing.  Having a control OOTB is always a nice thing, especially for those people that don’t know what the heck you would call this type of TextBox and therefore would never be able to find it using Google.

Silverlight 2.0 is definitely some cool stuff.  And for those of you that prefer something other than C# or VB, “Developers can write Silverlight applications using any .NET language (including VB, C#, JavaScript, IronPython and IronRuby”.

John

John Rennemeyer is a software engineer that started his own development company MuvEnum, LLC in 2005. Born in Utah, he is a father of six, husband of one, and grandparent of none. His current programming passions include Xamarin, WPF, SharePoint, and their supporting technologies. His current non-programming passions include spending time with his family and hanging out with friends while enjoying food and fun. How's that for specific?