5

This questions is mainly for Windows Phone devs, but I guess any XAML technology is applicable.

My VirtualizingStackPanel works great and I can see the improvements in memory usage. However, the items I have in the ListBox are variable in height and can be quite complex to instantiate/bind.

When scrolling really fast, you start to see dead space while the panel is catching up. It seems to me that this issue could be fixed if the panel has the ability to render more items in advance.

At this point, I have a feeling it only renders 1 or 2 more items past the last visible item. Is there a way to increase this number? Can it render 5 items ahead?

If the answer is "no", is there a way to trick/hack it?

Laith
  • 6,071
  • 1
  • 33
  • 60

2 Answers2

0

Use LongListSelector instead of ListBox.

Kinnara
  • 76
  • 1
  • 1
  • 3
0

Try to deal with virtualization mode

ad1Dima
  • 3,185
  • 2
  • 26
  • 37