PasswordBox weird behaviour in Windows 10 <p>I am trying to use a <code>PasswordBox</code> in my Windows 10 universal application. The problem that I am facing is that if I am pre-populating a <code>PasswordBox</code> with some text before the user has any chance to type in it, the reveal button is not shown anymore. This does not happen if I am populating the <code>PasswordBox</code> while the app is running. I also tried with/without the recommended <code>PasswordRevealMode</code> and the deprecated <code>IsPasswordRevealButtonEnabled</code>, but no luck.</p> <p>This is a small snippet to demonstrate the problem:</p> <pre><code>&lt;StackPanel&gt; &lt;TextBlock Text="Pre-populated:"/&gt; &lt;PasswordBox x:Name="PrePopulatedPasswordBox" PasswordRevealMode="Peek" Password="123456" /&gt; &lt;TextBlock Text="Type to populate"/&gt; &lt;PasswordBox x:Name="PopulatedWhenRunningPasswordBox"/&gt; &lt;/StackPanel&gt; </code></pre> <p>I don't think that this is the intended behaviour (as far as I understood from here: <a href="https://msdn.microsoft.com/en-uS/office/office365/windows.ui.xaml.controls.passwordbox.aspx" rel="nofollow">https://msdn.microsoft.com/en-uS/office/office365/windows.ui.xaml.controls.passwordbox.aspx</a>)</p>