Question

PropertyGrid Attributes Gathering

Posted 9 months ago by Avatar Rick - Developer, Visual Software Systems

Does the PropertyGrid use standard reflection or the TypeDescriptor API to get attributes from the linked object for the summary area?  The reason I ask is that I have a very large generated class that changes two to three times a year (it's the Reference.vb SOAP service class generated from a WSDL) that I link the PropertyGrid to.  I want to isolate the attributes I've added to the generated class specifically for use by the PropertyGrid into a separate class and use the TypeDescriptor API to point to them.  The process is described in this stackoverflow article: https://stackoverflow.com/questions/8316869/add-an-attribute-to-another-assemblys-class

Thanks... Rick


Comments (2)

Posted 9 months ago by Actipro Software Support - Cleveland, OH, USA

Hi Rick,

The WPF version does use type descriptors to get all of its data.  So I would hope that it would work for your needs.


Actipro Software Support
Posted 9 months ago by Rick - Developer, Visual Software Systems

Excellent.  Worked perfectly!

Information The latest build of this product (2018.1 build 0673) was released 5 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.