I want to implement a Pinterest like Mosaic layout for a tablet app. What is the best way to implement it?
Using Grid looks more like a table, while using multiple vertical StackPanel requires multiple data sources that is too complicated to manage and is not flexible enough to handle different screen resolution.
The ColumnLayout is a Layout that can be added to a Panel (other classes like StackPanel are conveniences for a Panel with a StackLayout).
The only options so far are Orientation and ColumnCount. You’ll have to control the control on your own for now (responsive triggers are coming soon to adjust to screen size). You can also give feedback on what type of properties might be helpful on the ColumnLayout (perhaps a Width or Height to base the number of columsn on available size).
ColumnLayout is the only one without a special panel, the other layouts being StackPanel, Grid, DockPanel, and WrapPanel. In time more specialized ones will appear, though we’re trying to keep them fairly generic.