Sometimes users want to see different amounts of information for items. The ListView control supports swapping of item templates at runtime, so you can change how items are displayed on-the-fly. To change the ListView control’s template, set its itemTemplate property to the declarative template or templating function you want to use instead.

Click the 'Swap item template' button to show or hide details about the ice-cream flavors.