如何实现INotifyDataErrorInfo在WPF 4.5吗? [英] How to implement INotifyDataErrorInfo in WPF 4.5?
问题描述
我意识到,出现在.NET框架4.5这个接口
I realized that appears this interface in .NET Framework 4.5
我一直在寻找第一个有关如何在Silverlight实现的(我可以想像,它以同样的方式实现),但我无法找到这个新界面的紧凑演示。是否可以说明我如何使用它?
I was looking first for about how to implemented in Silverlight (I can imagine that it's implemented in the same way), but I can't find a compact demo of this new interface. Is it possible to show how can I use it?
我真的想找到一个小的演示,了解它。
I really want to find a small demo to understand it
推荐答案
除了关于<一个MSDN上的非常详细的说明href=\"http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifydataerrorinfo%28v=vs.95%29.aspx\">Silverlight INotifyDataErrorInfo 版
目前已经有一些博客文章的样品如何使用/ WPF中4.5实现它:
There are already some blog posts with samples how to use/implement it in WPF 4.5:
- WPF 4.5 – Asynchronous validation
- WPF 4.5 – Part 1 : Asynchronous data validation (the author has a nice series about the new fetaures in WPF 4.5)
这篇关于如何实现INotifyDataErrorInfo在WPF 4.5吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!