Metro Tiles arrangement / Begin Group & Group Title

Apr 4, 2014 at 5:58 PM
I'm having a problem understanding the impact of using beginGroup and groupTitle when building a ViewAction and rendering them using the Metro theme.

I'm really trying to have more control on how the tiles are organized. For now it seems they are rendered in columns they can have up to 2 tiles in them. Like
Cat 1 Cat 2
Grp 1 - 1 Grp 1 - 2 Grp 3 - 1 Grp 3 - 2
Grp 2 - 1 Grp 2 - 2 Grp 3 - 3 Grp 4 - 1
                           Grp 5 - 1  Grp 5 -2
And there's no way to control which row a tile would lend on.

Is there a way to extend the number of tiles per row?
I'd like to have something like
Cat 1 Cat 2
Grp 1 - 1 Grp 1 - 2 Grp 3 - 1 Grp 3 - 2 Grp 3 - 3
Grp 2 - 1 Grp 2 - 2 Grp 4 - 1
                            Grp 5 - 1  Grp 5 - 2
Coordinator
Apr 6, 2014 at 6:11 AM
Hello!

The tile arrangement works is that it either puts two square tiles or one wide tile into a row. Then the next set of squares (or one wide) one below it until the vertical space is used up, at which point it breaks over to the next "column" and puts the next two squares (or one wide one) there and so on. When a group-break occurs, a little horizontal space is added and then the whole thing starts over with the next "columns" of two squares or a wide one. So the whole arrangement basically works like the Win8 Start Screen.

BTW: The whole thing is implemented using a custom layout panel. It would be relatively easy for grab that code and modify it if your needs are different.


Markus