views:

29

answers:

1

I have images in folder Images in my windows phone solution. How can i get collection of images in this folder? Build Action of all images is "Content".

A: 

Even if the image is set to content you can still use GetResourceStream.

var imgStream = Application.GetResourceStream(new Uri("/images/filename.jpg", UriKind.Relative));
Matt Lacey
I don't know names of images. I need to get all images uri from folder.
Rover