WPF self-training course for developers

WPF

WPF is an UI framework based on the idea of a “thin UI”.  It requires .NET Framework 3.0, 3.5, but the newest features are in .NET Framework 4.0.

Data Binding

Data binding is the idea of creating a link between a piece of code, like a c# property, and a GUI element, such as a WPF Control. When WPF is coded properly to use data binding, the piece of code and the GUI Element automatically stay in sync. For example, a TextBox that is bound to a String property, would see the the TextBox’es text change whenever the String property changes, and whenever the TextBox is changed, the value of the String property changes to match. If that is confusing, follow the tutorial, and seeing an example will clarify the idea of data binding for you.

Before you begin

There are a lot of videos made available to you by Microsoft, however, they are not really in any order. Here is an article that will help put order to those videos.

Visual Studio Training Videos – A check list of videos from WindowsClient.net

Chapter 1 – The Basics of WPF and Data Binding

  1. Introduction to data Binding in WPF
  2. Binding one element property to another
  3. Creating a StaticResource and Binding to it
  4. WPF command line parameters or arguments
  5. Binding to a DyamicResource (Coming soon…)
  6. Multibinding (Coming soon…)

Recommended Videos from WindowsClient.net

  1. How Do I: Using StringFormat when Multibinding (video 11:00 min)
  2. How Do I: Use FallbackValue in WPF Binding (video 9:38 min)

Chapter 2 – Controlling Data Binding

  1. Binding Modes or Directions (Coming soon…)
  2. Binding Triggers (Coming soon…)

Recommended Videos from WindowsClient.net

  1. Control How Data is Updated Using Binding Direction (video 13:48 min)

Chapter 3 – Extending Data Binding

  1. Binding to a member variable object
  2. Binding to Resources.resx for strings in a WPF Application: A technique to prepare for localization
  3. Binding to methods encapulated in an ICommand
  4. Hooking up Commands to Events in WPF
  5. Binding to an XML (Coming soon…)
  6. Binding to an ADO.NET DataTable (Coming soon…)

Chapter 4 – Using Converters and DataTemplateSelectors

  1. Binding Visibility to a bool value in WPF
  2. How to add a dynamic image and/or a dynamic button to a DataGrid row using a DataGridTemplateColumn and a DataTemplateSelector?

Chapter 5 – Migrating from Windows Forms

  1. (Coming soon…)

Recommended Videos from WindowsClient.net

  1. Layout Techniques for Windows Forms Developers (video 20:19 min)
  2. How Do I: WinForms WPF Integration (video 11:01 min)

Chapter 6 – Model-View-ViewModel (MVVM)

  1. MVVM Basics (Coming soon…)
  2. A Hello World template of a WPF application using MVVM
  3. Binding to methods encapulated in an ICommand (Review again)
  4. Simplifying the WPF TreeView by Using the ViewModel Pattern

Recommended Videos from WindowsClient.net

  1. How Do I: Build Data-driven WPF Application using the MVVM pattern (video 47:23 min)

Chapter 7 – Practical Examples of Data Binding and MVVM

  1. A Progress Bar using WPF’s Progress Bar Control, BackgroundWorker, and MVVM
  2. WPF Label, TextBox, and Mnemonics

Chapter 8 – Styles

  1. How to override the template style of a default control?

Chapter 9 – Animation

  1. How to animate an edit box to slide in and out using Expression Blend
  2. WPF replacement options for an animated gif