WPF datagrid 获取行或单格为NULL 问题

datagrid  属性 EnableRowVirtualization 设置为 false 解决...不要问我为什么. 害死我了

原文地址:https://www.cnblogs.com/lee2011/p/5982253.html