PropertyGrid Attributes Gathering

Posted 1 year ago by Avatar Rick - Developer, Visual Software Systems LLC

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:

Thanks... Rick

Comments (2)

Posted 1 year 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 1 year ago by Rick - Developer, Visual Software Systems LLC

Excellent.  Worked perfectly!

Information The latest build of this product (2018.1 build 0674) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.