This is a migrated thread and some comments may be shown as answers.

Display masked strings (password property)

1 Answer 149 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Johannes
Top achievements
Rank 1
Johannes asked on 21 Aug 2013, 10:24 AM
In WinForms there is (or was?) an attribute "[PasswordPropertyText(true)]" for displaying string properties as "*****" or something like that. How can I achieve this with WPF PropertyGrid?

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 26 Aug 2013, 11:57 AM
Hello,

In WPF there is a separate input control that processes passwords, instead of the regular TextBox. It is called PasswordBox. You can modify the displayed control using the approach illustrated in the following article.

Regards,
Ivan Ivanov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PropertyGrid
Asked by
Johannes
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or