Crow
Crow

Reputation: 7253

Getting Show Password checkbox instead of Reveal Button

Trying to add a reveal button to a PasswordBox, but instead getting "Show Password" checkbox. Using following code:

IsPasswordRevealButtonEnabled="True"

Expected result: https://i.sstatic.net/GSeFr.png

Results in emulator: https://i.sstatic.net/1FQl8.png

Full PasswordBox code:

<PasswordBox Margin="10,5,10,5" x:Name="PasswordLogin" Grid.Row="2" FontSize="{StaticResource TextStyleExtraLargeFontSize}" VerticalAlignment="Stretch" IsPasswordRevealButtonEnabled="True" />

Upvotes: 0

Views: 683

Answers (1)

Muhammad Saifullah
Muhammad Saifullah

Reputation: 4292

This is the default behavior in windows phone. In Windows it will show icon in the textbox where as in windows phone it will show checkbox below the password box

Upvotes: 1

Related Questions