Applies to Silverlight 5
In the previous recipe, we defined a data template in resources and referred to it from the
ListBox control that makes use of this template. With Silverlight 5, another type of data template is added to Silverlight: the implicit data template. Using this type, we define a template for a type and when Silverlight needs to visualize an instance of that type, it uses the template. This functionality has been available in WPF and is now available in Silverlight as well. In this recipe, we'll introduce implicit data templates to visualize data instances.
If you are following along with the recipes, you can continue using the code from the previous recipe. Alternatively, a starter ...