This project is read-only.

Associate a BitmapImage with a GalleryItem programmatically

Jul 22, 2010 at 7: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?


Jul 23, 2010 at 9:16 AM

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

Something like this.