Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Clear Textbox text on select C# WPF

$
0
0
I have a problem in WPF Application.
Please help
I have a textbox and in the textbox by default I am putting some text like 
"Enter User Name"
When I select the textbox the default text does not go and annoyingly you have to select the full text by either keyboard of mouse.
So I want do like this
The moment the textbox is selected the text should get removed.
How to do that?

Lucifer999


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>