The list view and grid view are not the only controls that allow you to present a collection of items. The other one shows them in a bit different way, as a drop-down list. This control is named combobox. In this recipe, you will learn how to use the data binding mechanism with this control.
As an example, you will create a page with a combobox that will present a list of available languages of the application. Each item will be presented as a flag next to a language name.
To step through this recipe, you need the automatically generated project configured according to the MVVM design pattern, as described in the Creating the view model for a page recipe.
To bind a collection to a combobox, ...