This is for a TextBox control on a login screen, where the TextBox contains the username. I want the TextBox to perform in the following way:
When the conte
The Extended WPF Toolkit has a Watermark Textbox that will do just what you're asking in pure XAML. There are other libraries out there as well.
The good thing about using the Extended WPF Toolkit is you can pick it up on Nuget and install and install updates directly through Visual Studio.