add ShowPassword Property for PassordBox
now we can show or hide password with toggle button
This commit is contained in:
1 parent
a581a0bd73
commit
6703642064
5 files changed
+176
-10
No files matched your search
@@ -6,8 +6,8 @@
|
||||
Background="{DynamicResource RegionBrush}">
|
||||
<controls:TransitioningContentControl>
|
||||
<StackPanel Margin="32">
|
||||
<controls:PasswordBox ShowClearButton="True" Password="123456"/>
|
||||
<controls:PasswordBox Password="123456" IsEnabled="False" Margin="0,16,0,0"/>
|
||||
<controls:PasswordBox ShowClearButton="True" ShowPassword="False" Password="123456"/>
|
||||
<controls:PasswordBox Password="123456" ShowPassword="True" Margin="0,16,0,0"/>
|
||||
|
||||
<controls:PasswordBox ShowClearButton="True" controls:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr1}" Password="123456" Margin="0,32,0,0"/>
|
||||
<controls:PasswordBox controls:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterContent}" controls:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}" controls:InfoElement.Necessary="True" Margin="0,32,0,0"/>
|
||||
|
||||
Reference in new issue
Block a user