1
Answer

DataBindings Text property for UserControl (C#, .net compact)

yev fes

yev fes

15y
9.6k
1

Hi all.

I am creating a simple UserControl comprised of a label and a combo box. I want it to be data bound in the same way as a regular combo box, i.e. in design-time you can set the binding of the Text property.

However, I don't know how to do this, the only two options are "Advanced" and "Tag".

Thusly, my question: how can I expose, in design time, the databinding of the underlying ComboBox when that ComboBox is a constituent control of a UserControl?

I can always expose ComboBox's databinding as a property and do the binding in the code, but I would really like it to accessible through design time.

I am working on .net compact 2.0 under VS2005.

Any help appreciated.

Answers (1)