bindingsource - find all bound controls



Is it possible to find all controls that are databound to a certain
bindingsource component?

I have a MyBindingSource which DataSource changes between several
BindingLists with different types, so the structure also changes.

Now, the controls that are bound to the MyBindingSource need to change
their bindings, and I have my own rules for that.

I want to implemet automatic rebinding logic in MyBindingSource but I
need to know which controls are bound to this MyBindingSource.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question