I am asking about a wp7 control, which presents an image. I don't know how to do this, and havn't found this in internet. So i need a control, which has different datatemplate depending on count of images needed to present. So, if we need present one image - it will fully show it on full control's size. If there are 2, 3 or 4 images - they must look like in a grid. So their size = size of control / 4.
Examples:
ImageSource has only one Image Item
ImageSource has four Image Items
Thanks for advices.
I thought to create usercontrol wich is inherit from ListBox, but i don't know how to realize the question.