且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

什么硬件/平台差异可能导致XAML-WPF多绑定到复选框失败?

更新时间:2023-10-06 22:37:22

我搜索 MS.Internal.NamedObject ,并来到了这篇文章,这听起来像是可能相关的。

I did a search for MS.Internal.NamedObject and came to this post which sounds like it could be related.

最终的原因是WPF 4框架中的一个错误,它涉及到一个与一个ObservableCollection绑定的虚拟控件,并改变了DataContext。有一些解决方法发布在官方错误报告页面,最简单的解决方案似乎是升级您的版本的框架,如果可以。

The ultimate cause is a bug in the WPF 4 framework related to a virtualized control binding to an ObservableCollection, and changing the DataContext. There is some workarounds posted on the official bug report page, and the easiest solution appears to be to upgrade your version of the framework if you can.