1

获取 System.ArgumentException -“System.Windows.Data.ListCollectionView”不是属性“Source”的有效值。

我已将 xceed 数据网格的 ItemsSource 绑定到我的视图模型中的 ICollectionView。有什么办法可以克服吗?

4

1 回答 1

1

When using the Xceed DataGrid for WPF, you should be binding the ItemsSource property of the DataGridControl to the DataGridCollectionViewSource. By doing this, you will get the best performance out of the DataGrid. Also, the filtering, sorting, grouping, etc.... functionalities work best with the Xceed's version of the CollectionView. This should definitely help you out!

于 2012-02-16T21:47:39.110 回答