Associate a BitmapImage with a GalleryItem programmatically

Jul 22, 2010 at 6:17 PM

I'm programmatically filling a gallery with a collection of ICommands but I don't see how to associate an image with each GalleryItem, any ideas?

Thanks.

Coordinator
Jul 23, 2010 at 8:16 AM

GalleryItem galleryItem = new GalleryItem();
Image image = new Image();
image.Source = ??;
galleryItem.Content = image;

Something like this.
Daniel