Tutorial 2: Data-binding
The roles of target and source and the modes of data binding are introduced, and a business object that implements INotifyPropertyChanged is created and bound to controls on a form. The purpose of the DataContext property is explained and an example is created in which two instances of the business object provide different Data Contexts for binding. Binding to various controls (check box, text box text block) is shown as well as binding from a collection to a listbox, along with one way and two way binding. In an afterword, the concept and advantages of Dependency Properties are explained in some detail.
View in VB or C#