How to bind to a PasswordBox in MVVM

前端 未结 30 2378
执念已碎
执念已碎 2020-11-22 11:50

I have come across a problem with binding to a PasswordBox. It seems it\'s a security risk but I am using the MVVM pattern so I wish to bypass this. I found som

30条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 12:16

    I spent ages trying to get this working. In the end, I gave up and just used the PasswordBoxEdit from DevExpress.

    It is the simplest solution ever, as it allows binding without pulling any horrible tricks.

    Solution on DevExpress website

    For the record, I am not affiliated with DevExpress in any way.

提交回复
热议问题