如何在mvvm模式中绑定密码框 [英] How to bind password box in mvvm pattern

查看:138
本文介绍了如何在mvvm模式中绑定密码框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

任何人都知道如何在wpf中以MVVM模式绑定密码框.我成功使用了文本框绑定,按钮绑定,但是无法绑定密码框.

如果有谁可以成功,请给我摘要.

谢谢与问候
Chetan

Hi friends,

Any one knows that how to bind password box in MVVM pattern in wpf. I successful use text box binding, button binding but unable to bind password box.

Please give me any snippet if who can success.

Thanks & Regards
Chetan

推荐答案

请参阅以下内容:
See the following: http://blog.functionalfun.net/2008/06/wpf-passwordbox-and-data-binding.html[^]. Uses concept of Attached Properties.


这篇关于如何在mvvm模式中绑定密码框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆