Windows 8 XAML app sample showing how you can create a GridView with items whose templates can be dynamically changed at runtime.