Developing New Experiences

TH07 Eliminate Code Using Data Binding in WPF


9:30am - 10:45am

Level: Introductory to Intermediate

Paul Sheriff

Author / Instructor

Data Binding in WPF is more than just binding to data in a database. You will learn various methods of using data binding including binding one control to another control, binding to properties in your classes, and having XAML create classes for you. You will learn how to set global settings like font size, colors and other configuration data through easy to use classes. You will also see how to bind to data classes in your back-end database as well. This session will show you how to retrieve data from your SQL Server database and display it in a typical business form. You will learn to use the ObjectDataProvider control to retrieve data and to filter data. You will see a real-world example of a CRUD screen. You will walk away with some useful classes that you can utilize in your own WPF applications.

You will learn:

  • How to write less code by employing data-binding
  • How to bind from one control to another
  • How to bind from view models to controls