.net - Where to find the nifty Textbox with the grayed out instruction? -


When entering MSN-Messenger, you have these nifty text boxes that you want to type in the gray text (Username , Password). Once you start typing it disappears. It is certainly not hard to use user control in WPF, but is this already available in control / behavior?

This is called "watermark textbox" Here is a code sample:


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -