IntelliPromptMemberListItem properties...

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Thomas Goff
Avatar
Why are Text and ImageIndex in the IntelliPromptMemberListItem class read-only? I would like to serialize this class to XML, but I can't because these properties are read-only.

It would be great if you could add a protected constructor that takes no parameters and make Text/ImageIndex read-write.

Thanks alot,
Tom

Comments (4)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We added a public setter to both for the next maintenance release for you. It was done this way since if you would change them after a member list has been displayed, the width of the member list might be wrong. So as long as you avoid that scenario, everything should be ok with the new setters.


Actipro Software Support

Posted 18 years ago by Thomas Goff
Avatar
Is there also a default constructor? Otherwise the XML Serializer won't be able to create the object.

The new setters will work great, since I don't change them in code (just load them from a file).

Thanks
Tom
Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes that has been added for you as well.


Actipro Software Support

Posted 18 years ago by Thomas Goff
Avatar
Excellent and thank you.

t
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.