Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Can't Load All Images into listview. Please help

$
0
0

Hi there, 

I am trying to loop through all my user controls and add a thumbnail image of them to a list view....

Here is a quick example of what i am trying to acheive...

For each userControl in userControlList

img = getThumbnailOfControl(userControl)

lstView.Items.add(img)

Next

This is very strange as it kind of works.

Every now and again some of the images in the list show but never always. the images that are shown every time the list is populated are random each time with some missing.

The list is populated and shown on a mouse over event for a button and displayed in a popup.

Any help would be greatly appreciated

Cheers


james


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>