Best points to start understanding WPF data binding are the MSDN articles “Windows Presentation Foundation Data Binding” here and here. More can be found in the MSDN magazine article Customizing Controls For Windows Presentation Foundation. To learn how to bind to element properties the forum entry may help. A somewhat twisted introduction to Styles and Templates can be found here.
WPF Data Binding