yev fes

yev fes

  • NA
  • 3
  • 0

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

Feb 3 2009 11:55 AM

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)