'Alternative of VirtualizingStackPanel.CacheSize in .Net 4.0

What are the factors that virtualizingstackpanel consider when it decides visualizing items around the visible item?

Ex: Having a listview, when viewing item 7, item 6& 8 will be visualized too although they are not seen.

How can limit visualized items, so that ONLY visible item is visualized?



Solution 1:[1]

Virtualization is quite a complicated subject, but I have a book that describes it well. Furthermore, this book also shows how to implement custom virtualization, which you may need to implement to achieve your goal. Luckily for you, I found that someone has posted a PDF of the book online and you can find it by clicking on this link.

The virtualization section starts on page 129, but it is well worth reading the rest of it too as it has some very interesting stuff in it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1