-
Lists and Details
- Provide a list of customers
- For each customer show full details when selected
- Reuse Customer class from previous tutorial
-
Visual Studio Starter Templates
-
Windows Phone List Application
-
Starter List Page
- Understanding out of the box
-
Modifying to accommodate customer
- Bind to the observable collection of customers
-
Changes are minor
- Update header
- Update data source and Context
- Update Xaml (bindings)
-
List Items Source is Observable collection
- Observable collection implements INotifyPropertyChanged
- See Interfaces in previous tutorial
- Collection of customers as Observable collection
-
Starter details Page
- Use index passed to page query to find record
- Bind to the Customer from within the collection