When creating a WPF application that includes a control PasswordBox, I tried setting PasswordChar'<' instead of '*' to display. I wrote the following code:
<PasswordBox PasswordChar="<"></PasswordBox>
When using this code, the following error is reported:
Error 1 The value "<" is not valid in the attribute.
source
share