Textbox Watermark in WPF
Wednesday, June 27, 2007
I have been recently playing with WPF and I am building my standard controls library before I start building my first really serious app for production.
One of the neat little controls I made last night was for a TextboxWaterMark
It looks like this.

It is inspired from http://ajax.asp.net/ajaxtoolkit/TextBoxWatermark/TextBoxWatermark.aspx
You can customize the text and colours (Brushes) . I thought I would drop it onto the web just in case it saves anyone else some time in the future. It is nothing amazing don't get me wrong, but might save someone in the future 30 mins or so. ;-)
Feel free to copy and use commercially. This code though does not come with any warranty and is not 100% tested so you use it at your own risk.
TextBoxWaterMark.cs

