WPF DevExpress TextEdit - “ * ” for Password input

2019-09-06 11:50发布

问题:

how I can use TextEdit component for passwords input?I want to se some "*" or "#" or another symbol when I type the password. Is there some property, where i can set such a thing?

回答1:

I would recommend the PasswordBox control...



回答2:

Try: TextEdit.Properties.PasswordChar = '*'