WPF Binding Tutorial

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.

WPF Data Binding Tutorial

Chapter 1 – The Basics of WPF Data Binding

1.0 Introduction to data Binding in WPF
1.1 Binding one element property to another
1.2 Creating a StaticResource and Binding to it
1.3 Binding to a DyamicResource (Coming soon…)

Chapter 2 – Controlling Data Binding

2.1 Binding Modes or Directions
2.2 Binding Triggers

Chapter 3 – Extending Data Binding

3.1 Binding to a member variable object
3.2 Binding to Resources.resx for strings in a WPF Application: A technique to prepare for localization
3.3 Binding to methods encapulated in an ICommand
3.4 Binding to an XML
3.5 Binding to an ADO.NET DataTable


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: