ObservableCollection Doesn't support AddRange method, so I get notified for each item added, besides what about INotifyCollectionChanging?

前端 未结 12 1412
走了就别回头了
走了就别回头了 2020-11-22 16:19

I want to be able to add a range and get updated for the entire bulk.

I also want to be able to cancel the action before it\'s done (i.e. collection changing besides

12条回答
  •  没有蜡笔的小新
    2020-11-22 16:42

    You will have to be careful binding the UI to your custom collection -- the Default CollectionView class only supports single notification of items.

提交回复
热议问题