05 2013 档案
MVVM中PasswordBox的使用
摘要:可能是因为某些安全问题,微软的PasswordBox控件的Password属性不能绑定。在只需要单向绑定时,可以用 Button的Command="{Binding LoginCommad}" CommandParameter="{Binding ElementName=MyPasswordBox}"/>就把PasswordBox传回ViewModel了
阅读全文
浙公网安备 33010602011771号