Display masked strings (password property)

2 posts, 0 answers
  1. Johannes
    Johannes avatar
    66 posts
    Member since:
    Dec 2012

    Posted 21 Aug 2013 Link to this post

    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?
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 26 Aug 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top