.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

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -