From the course: Developing UWP Apps: 2 Basic Controls and Patterns

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Data templates

Data templates

- [Instructor] Although the topic of data templates is typically associated with the concepts of data and model binding and not really controls directly, I wanted to cover the topic in this session so that we can make sure we're ready for creating more advanced, dynamic, and custom controls. Data templates, essentially, are used to specify a visual representation of your data, remembering UWP apps, XAML-based UWP apps, the data is just loosely connected to the user interface. In fact, it almost follows more of a model view view model concept, although not exactly. Data template objects are extremely useful when we are leveraging any control that implements the item's control. This includes the grid view, list view, and list box. Anything that's a collection based or collection data based control.

Contents