I own .Net Windows Forms ListView and I see a very strange error / behavior when I need to draw an image from the associated LargeImageList.
When the View type is a type that uses a LargeImageList (Tile, LargeIcon, etc.), I draw element images from the LargeImageList. In this state, I see a huge increase in memory, and when you try to scroll through the ListView, it becomes more obvious, since you see a disgusting scroll. The same does not happen when the same code uses a SmallImageList, which looks something like this:
Image MyImage = this.LargeImageList.Images[MyIndex];
e.Graphics.DrawImage(MyImage,MyLocation);
It reproduces in XP and 7 according to my tests. Is this a known bug, in any workaround?
Hello,
Özden
source
share