I'm writing a tile menu just like phone 7/8 in WPF: a grid of tiles. The menu is hierarchical: when you click a tile, the current tilegrid disappears, and a new grid with subtiles appears using the entire space given to the root menu control, not just the small parent tile. So, just like win phone where clicking a tile would open a subpage of tiles.
The main problem is that a certain Tile needs to have a state where it is just a small "tile" inside a parent grid, AND a second state in which it shows its subtiles in a grid as big as the entire menu canvas, so it needs to "grow" to the size of the root menu canvas.
I have two solutions: both are messy, code intense and disable WPF power :(
How can i realize this two state "grow to fill entire canvas" thing?