Custom Control Properties

B

best95

I've created a custom control using C#. I have been able to add the
control to infopath and bind it to data. The last thing I am trying
to do is expose a property of the control at design time in infopath.
This property needs to be set before the form is published. Is there
a way to add an attribute, like the [Browsable(true)] attribute, to
the property to get it to show up in the Properties window of InfoPath
after the control has been added? If not, is there another way to
access that property of the control and set it's values during design
time? Any help is greatly appreciated.

TIA,

Eric
 
Joined
Oct 18, 2011
Messages
2
Reaction score
0
same problem

Hi,

I'm searhing for the same solution.
Did you find how to expose a custom control (custom property) to the infopath custom control property window?

I can't seem to find anything about it on the net, I hope it's possible

Greetz,
Thomas
 
Joined
Apr 23, 2012
Messages
3
Reaction score
0
Would you be willing to post the code? I am having a difficult time figureing out how to even create an infopath custom control such as this.
 

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

Top