Data binding plays a pivotal role in every data presentation control, including xamDataPresenter™, xamDataGrid™, xamDataCarousel™, and xamDataCards™. The xamDataCards control can only display flat data while the other controls can display hierarchical data in addition to flat data.
By default, when you data bind any of the controls mentioned above, they create a FieldLayout for each unique Type of object in your data source. Each publically exposed property by your data item will have a corresponding Field in the FieldLayout. If a publically exposed property returns an object that implements the IEnumerable interface and the control supports hierarchical data, it will display an expansion indicator so that your end user can drill down into the hierarchy.
Just like any data bound control in Microsoft® Windows® Presentation Foundation, there are some requirements you must meet in order to bind your data to the data presentation controls.
The object must implement the IEnumerable interface (e.g., ObservableCollection<T>, ArrayList, DataView etc.).
If you are using an object that derives from the DataSourceProvider class (e.g., XmlDataProvider, ObjectDataProvider, or your own custom data provider), the Data property of the data provider must return an object that implements the IEnumerable interface.
Binding Field, FieldSettings, FieldLayout and FieldLayoutSettings to MVVM Properties