【发布时间】:2014-10-21 00:24:58
【问题描述】:
我需要在我的应用程序中刷新/更新 ListView。由于在我的情况下使用 INotifyPropertyChanged 没有用,有没有办法做到这一点?我在 WPF 中看到了对此的解释,但它们不起作用。
到目前为止我尝试了什么:
this.itemListView.Update();
this.itemListView.Items.Update();
this.itemListView.Refresh();
this.itemListView.Items.Refresh();
this.itemListView.UpdateLayout();
它们都不起作用。
最后一个也没有工作,即使它应该是,因为它存在。
【问题讨论】:
标签: c# xaml listview microsoft-metro windows-8.1