Custom Control Properties

Oct 18, 2011
Reaction score
Hi All,

I managed to create a custom control (treeview) and use it inside an infopath 2010 form template.

The last thing todo is make a property available in the property window of the control, inside the infopath form designer.
Can anybody tell me how to do this?

For example i want to fill in a ConnectionString in the infopath desginer, and pass this to the custom control.

In my custom control I have declared some public property's wit the Browsable and ComVisible attribute set to true.
But the property still doesnt show up in InfoPath.

When I create an empty windows form application, and use my custom control in there, the Connection String property is visible in the properties window.
So I think I must implement or do some infopath specific things in orde to expose the property to InfoPath?

Has anybody ever done this before?!
Thanks in advance!



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