阅读背景:

当dataTemplate验证mvvm wpf时,CanExecute不会禁用按钮

来源:互联网 

I have a dynamically generated window with some textboxes that have validation rule. The textbox validation is working, I can see the new style I have added, but I linked the IsValid function to CanExecute on save button and the button is always enabled, even if textbox validation is error.I have a dynamically generated window with some




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

分享到: