Though my primary focus is on Windows Store apps written in HTML, CSS, and JavaScript, I do see plenty of C#/XAML material cross my inbox. In this case, there’s a helpful template available in the Visual Studio Code Gallery that closes the gap between the HTML/CSS and XAML presentation layers, namely doing variable-sized items in a collection control, otherwise known as cell-spanning. This is built into the WinJS ListView control but takes a little more work in a XAML GridView.

The template found on http://visualstudiogallery.msdn.microsoft.com/da65cc08-c4bf-4824-b483-9c8f53fb063c?SRC=Home helps close that gap. To quote the description: “VariableGridView is a subclass of GridView that supports variable sized children. When using the template, there should be no need to modify this class.”

 


Comments are closed