摘要: WPF中ItemsSource改变,DataGrid中不更新 需要将ItemsSource先赋值为null,而后再赋值为新的值。 例如: gridBeamInfo.ItemsSource = null; if (beamInfoList.Count==0) { beamInfoList = new 阅读全文
posted @ 2021-09-07 17:10 JohnYang819 阅读(52) 评论(0) 推荐(0) 编辑