How to add thousands of items to a binded collection without locking GUI

前端 未结 5 1875
深忆病人
深忆病人 2021-01-31 10:25

I have a setup where potentially thousands of items (think 3000-5000) will be added to an ObservableCollection that is binded to some visual interface. Currently, t

5条回答
  •  我在风中等你
    2021-01-31 11:15

    Another thing you can try: subclass ObservableCollection and make it support bulk loading (AddRange). Here is an article: AddRange and ObservableCollection

提交回复
热议问题