I already read this thread, but I don't figure out what BitmapCache
does.
According to msdn,
Bitmap caching allows visual elements to be stored as bitmaps after the first render pass. After the element is cached, the application bypasses the render phase for the cached visual element and displays the stored bitmap instead.
I set CacheMode="BitmapCache"
for my ListBox
. I think that after the 1st render, the OS will save its visual as a bitmap, then continue to show that bitmap in each frame, without render it again. I think the ListBox
should be static now. But I can still scrolling the Listbox
.
I must understand it wrong. Please explain what BitmapCache
does ?
If it is good, why don't we set BitmapCache
for every element ?