Posts Tagged ‘watermark’


New Control Set: TextBox – Watermark

Wednesday, August 14th, 2013 by David Corrales
Recently in the forums we had a request on how to create a textbox with a watermark. What is a textbox with a watermark you ask? It is a textbox that displays hint information within the textbox using a lighter color. For example, a textbox that accepts a username, may have a watermark as follows: Once a user types in the textbox, the watermark goes away. Typically a C# developer would create this control by creating a new class that inherits the original textbox control. Next they would override some paint events and add custom members to keep track of…   More »