Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
665
Size tiles to fill available space.
posted

Is there a good way to setup the tiles control so that each tile get the same size, and the tiles fill the available space?  I'd like a view to come up with 6 tiles (2x3) where each tile is the same size and as the window resizes, the tiles resize.  I was able to achieve this by listening to ActualWidth/ActualHeigh change events, and settings the tile preferred size.  But that falls apart as soon as I resize the tiles individually.

Seems like what I really need is a way to do percentage based tile sizes, much like the Grid.  Is something like this possible?

Also, is there an event in the XamTilesControl to notify me when tiles are being manually resized by the user?

Thanks!