Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
UltraListView update items async
posted

Hi, i have currently a performance problems with UltraListView which should show a folder content with big number of files.

My idea was to create items first with name and default icon only. Then get the subitem values and right thumbnail later if the item gets visible.

I haven't found an event like "ItemVisibleChanged" or alike. Is it possible somehow else, may be with creation filter?

Thank you

Parents
No Data
Reply
  • 69832
    Offline posted

    It would probably be better if you could provide more details on the performance problem; if there's a bug causing it, we would probably want to fix that.

    Note that when dealing with large numbers of items, the best way to populate the control's Items collection is to first populate an array, and then use the UltraListView.Items.AddRange method. Because the control has a lot of housekeeping to do when you use the Add method, performance can be orders of magnitude better in some cases when you use AddRange instead.

    Also note that there is a sample (might be in the legacy samples now) called Infragistics File Explorer, which features this control, and demonstrates how to emulate the Windows File Explorer using the UltraListView control.

Children