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
410
Performance - displaying a scrolling list ;)
posted

Simple question. I look for the best impact way to present a scrolling list of items to the user.

The window is pretty easy but already a performance problem. It has on top 5 text boxes showing the last information, under it currently a ListView bound to a BindingList. That list.... shows 3 data items... but it is scrolling. I am constantly adding new items to the top, removing them from the end (which is 25-30 items below).

Getting worse, there are sometimes hundreds of updates per second. Every such window runs in it's own graphical presentation.... but the number of cores is also imited.

So, any "help" from infragistics? A faster way than the ListView? Any recommendation?

For those interested - the window is a so called "Time and Sales" window. Shows financial instrument trade data (for one instrument) - every line: time, amount, price. Modern exchanges trade a lot ;) The boxes on top also have best bid/ask price and total volume for the day.

Sadly a performance killer ;) Did you guys pull up any magic here?

  • 9694
    posted

    Hi there,

    I apologize that no one has answered this post. We are working to make sure all posts are answered and not missed. Did you try using the XamDataGrid instead of ListView? The XamDataGrid has specialized performance code to make it one of the fastest controls out there. 

    If you stick with a ListBox or ListView, if you can get by without using any DataTemplates, that will speed things up.