I need to have a dynamic layout inside List box item.
Example of such layout would be the news feed on Facebook. To simplify, let's narrow it down to one news item type: Somebody added N photos. I already have an algorithm which takes image sizes and produces optimal layout.
I don't want to have 20 images with bound Width, Height, Margin, Visibility.
I do have to have virtualization enabled.
How can this be done on Windows phone platform?