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

How to load images in bulk onto a WPF Grid?

$
0
0

Hello,

I've loaded a bulk of images in visual studio as a .resx file and wanted to load them on a WPF  grid but the Image container had problems and I would have to do conversion, but after i thought about it, it seemed to be a bit unnecessary, since i should be able to do all of that in wpf.

I wanted to load an array with the images and load them into separate image containers using a loop. I could probably do this easier, without having to make conversions if i just did it in WPF? The problem is, I don't know how. I've done a little bit of searching on loading a bulk of images, but I've not found anything. Maybe I'm approaching it wrong? Would it be a waste of resources to load them all at program start-up and make them visible when needed? Any advice would be appreciate. 

Thanks


Malik



Viewing all articles
Browse latest Browse all 18858

Trending Articles



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