The team at Infragistics maintains a comprehensive library of WPF code samples which you can access here. We also maintain a library of WPF sample applications, which you can access here.