views:

32

answers:

1

Hi folks,

I've got an User Control with TextBoxes, Labels, ... . Now I would like to get the same Data Binding Features like I would place the Controls directly on the Form. I tried with an extra Binding Source and Error Provider in the User Control and I tried to make the Properties of my Controls available as an property.

Nothing worked. So there have to be an solution to get this done. So how?

A: 

Here is a short blog post, which shows how to create a DependencyProperty for your User Control which can then be used for binding.

Kitto