|
|
@ -12,13 +12,13 @@
|
|
|
|
<TextBox
|
|
|
|
<TextBox
|
|
|
|
materialDesign:TextFieldAssist.DecorationVisibility="Hidden"
|
|
|
|
materialDesign:TextFieldAssist.DecorationVisibility="Hidden"
|
|
|
|
BorderThickness="{Binding BorderThickness, ElementName=Root}"
|
|
|
|
BorderThickness="{Binding BorderThickness, ElementName=Root}"
|
|
|
|
Text="{Binding Password, ElementName=Root}"
|
|
|
|
Text="{Binding Password, ElementName=Root, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
Visibility="{Binding IsRevealed, ElementName=Root, Converter={x:Static s:BoolToVisibilityConverter.Instance}}" />
|
|
|
|
Visibility="{Binding IsRevealed, ElementName=Root, Converter={x:Static s:BoolToVisibilityConverter.Instance}}" />
|
|
|
|
<PasswordBox
|
|
|
|
<PasswordBox
|
|
|
|
x:Name="PasswordBox"
|
|
|
|
materialDesign:PasswordBoxAssist.Password="{Binding Password, ElementName=Root, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
materialDesign:TextFieldAssist.DecorationVisibility="Hidden"
|
|
|
|
materialDesign:TextFieldAssist.DecorationVisibility="Hidden"
|
|
|
|
BorderThickness="{Binding BorderThickness, ElementName=Root}"
|
|
|
|
BorderThickness="{Binding BorderThickness, ElementName=Root}"
|
|
|
|
PasswordChanged="PasswordBox_OnPasswordChanged"
|
|
|
|
IsEnabled="False"
|
|
|
|
Visibility="{Binding IsRevealed, ElementName=Root, Converter={x:Static s:BoolToVisibilityConverter.InverseInstance}}" />
|
|
|
|
Visibility="{Binding IsRevealed, ElementName=Root, Converter={x:Static s:BoolToVisibilityConverter.InverseInstance}}" />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|
|
|
|
</UserControl>
|