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

前端 未结 5 1869
深忆病人
深忆病人 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:20

    for second question if in your GUI you are using WPF technologie, you can increase performance using VirualizingStackPanel allowing you to create only visible items

提交回复
热议问题