阅读背景:

如何在WPF上为IDataErrorInfo使用异常消息

来源:互联网 

i was wondering how to best validate some user inputs on the WPF mvvm pattern? I've implemented IDataErrorInfo in my ViewModel. But I don't know how to use this interface with raising an exception. My purpose is to not have any logic in my viewModel. So the validation has to be in the business logic class.i was wondering how to best validate some user




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

分享到: