Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 25, 2008 10:20 AM by Amethyste
Mar 25, 2008 10:20 AM|LINK
I have build a custom control. One of it's property is a complex property, say it is LinkData. LinkData has some subproperties.
I used the recommandations given by Nikhil Kotary in it's book and made the LinkData readonly and forcing the user to acces the sub properties but not replacing LinkData.
I also attached a custom UITypeEditor to LinkData. It works fine, the form popup, I can use it. But when closing, LinkData subproperties are not updated. I have no error message.
After investigating I discovered this is because LinkData has a getter, but no setter. So I must find a way to tell EditValue() function not to copy LinkData, but rather it's sub properties that have read/write access.
The problem is that I don't know where to do this.
Does anybody know the answer?
UITypeEditor complex property