Search code examples
winformswindows-runtimewindows-store-appspasswordbox

Windows 8 PasswordBox placeholder


How to add text placeholder to PasswordBox control in Windows 8 App while it is without text and doesn't get focus?


Solution

  • Looks like there is no implemented functionality for this and you need to do it yourself.

    You can get some idea from Callisto WatermarkTextBox

    or from the next question and answers - Watermark / hint text TextBox in WPF