Originally published on my old Charteris blog
This is part 6 of the training course originally described here with parts 2,3, 4 and 5 available here, here, here and here respectively. So far we have covered WPF fundamentals, XAML, brushes, shapes, controls, styling, resources and layout.
Part6
- Data
- Binding class
- Converter property
- ElementName property
- Mode property
- Path property
- RelativeSource property
- XPath property
- LAB12 - Databinding elements to each other
- DataContext
- DataProviders
- LAB13 - Binding to an ObjectDataProvider
- DataTemplates
- DataTemplateSelector
- ItemsControl
- Introduction
- ItemsSource property
- ItemTemplate property
- ItemsPanel property
- ItemContainerStyle
- LAB14 - Using ItemControl with ItemsSource, ItemsPanelTemplate, ItemsPanel, ItemContainerStyle and DataTriggers
Download Part6.zip which includes a slide deck and the 3 labs. Code to get you started with the labs is included.