Hi,
For the basic layouts you can now choose where you want the maximized tile. If you choose Top, the other tiles are shown from left to right, horizontally. I would like to create a Tile control, where all tiles are always layed out vertically, like shown in the schematic image. Is this possible and can someone push me in the right direction if so? I can't get a explicit layout to work the way I want it to.
Hi Paul,
There doesn't appear to be built in support for this. We use a custom tile panel to hold all of those tiles and it decides how to layout the tiles based. Currently if you set the MaximizedTileLocation to Top, it will place the other non-maximized tiles below it and line them up horizontally.
I think a more manual approach will produce the desired results though. You can have an explicit tile arrangement where you decide what rows and columns the tiles belong to. In order to detect if a tile is being maximized you can handle the TileStateChanging event. Cancel this event and then adjust the position of the maximized tile along with it's height to produce the appearance of a maximized tile. You will have to replace the tile content as well if you plan on displaying a different view while the tile is maximized. Normally this would be handled by default. Once you have adjusted it's height you can adjust the heights of all the other tiles so they appear smaller like in your mock up.
Hi Rob,
That's too bad. I was hoping I overlooked some setting or optional layout. With your solution it might be possible to simulate the effect that I want, but that 's not really the idea of using a specific control; saving time because you don't have to build it yourself ;). I don't mind some altering, but I rather keep that to the styling, than actually changing (or in this case simulating) the behavior of the control.
Can I file this as a feature request on this website?
I'm still going to try though, since I think it's going to take a lot less code than I initially thought.
Update: I decided to change the design for what I want somewhat. I noticed that I can easily 'simulate' maximizing behavior with an extra element within the normal item template, that I can collapse/expand with the visibility (Bound to a Toggle Button state). The Tile re-sizes nicely and the only thing that does not happen is that it does not move to the top. This behavior is not a problem, making this a good solution for my situation.
I definitely would recommend submitting this as a new product idea for the tile manager. You can do this here: http://ideas.infragistics.com. If you decide to add it, please include a link back to this forum thread so our product management team can look at it if needed. This forum thread also has the mock up of what you were trying to achieve.