阅读背景:

当文本框为空时,WPF文本框绑定验证规则不会在LostFocus上启动

来源:互联网 

We all know how sucky WPF validation is out of the box. I am trying a very simple thing and for some reason it is always failing. I have a TextBox and my only requirement is to validate that the user inputs something in the TextBox. The TextBox is bound to a Customer object with FirstName and LastName properties. We all know how sucky WPF validation is out of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: