The question is pretty much self-explanatory.
views:
15answers:
1
+1
A:
Yes, there is. The VirtualizingStackPanel
optimizes the display of the items - it only creates and holds the visible items - and thus provides a better performance.
Using another panel can give you extended possibilities in styling and scrolling, but it might be problematic if you have hundrets or thousands of entries.
BTW, if you set the CanContentScroll
property to false
even the VirtualizingStackPanel
will generate all items in order to provide smoother scrolling - the default is to scroll from on item to the next.
Obalix
2010-08-17 07:47:43