How to write code that transfers elements in a GridView group (XAML-Win8), as shown in the illustration below?
I currently have a custom TemplateSelector that selects a different (larger) template for the first element, but a stream, as indicated here:
<GroupStyle.Panel> <ItemsPanelTemplate> <q42:WrapPanel Orientation="Horizontal" Width="440" Margin="0,0,80,0"/> </ItemsPanelTemplate> </GroupStyle.Panel>
Wraps items 1 through 3 in the same way, but then puts item 4 at position 6 of the position without filling items 4 and 5.
The question becomes; how to write code that acts like css:
.item { display: inline-block; } .item1 { float: left; }
which will make the elements flow as I want?

source share