PropertyGrid Attributes Gathering

Grids for WPF Forum

Posted 2 years ago by Rick - Developer, Visual Software Systems LLC
Version: 17.2.0663
Avatar

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 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 2 years ago by Rick - Developer, Visual Software Systems LLC
Avatar

Excellent.  Worked perfectly!

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

Add Comment

Please log in to a validated account to post comments.