WPF DevExpress TextEdit - “ * ” for Password input

送分小仙女□ 提交于 2020-01-16 09:22:27

问题


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 = '*'



来源:https://stackoverflow.com/questions/1867214/wpf-devexpress-textedit-for-password-input

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!