Click here to Skip to main content
15,918,404 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
I want to use the property grid (propertygrid) to allow a GUI to view the properties of an class through one of its interfaces.

I can see the interface properties in the object viewer and in debug mode. This interface comes from a dll that I don't access to modify, so I can't add anything to it. The Igobject comes from a an imported reference in the project. most of the properties are simple types (int, string, doubles), and some are custom complex types but I don't need those for now. Any suggestions?

is there anything special that would prevent the propertygrid object not to show the properties. for example:


VB
Dim lobject As IgObject
        lobject = _galaxy.CurrentObject
        PropertyGrid1.SelectedObject = lobject
Posted

I tried to explain how to work with property grid in my past solution, in response to this question:
How to get response when click PropertyGrid[^].

This is not very easy though.

—SA
 
Share this answer
 
I don't have access to modify the Interface attributes, So I can't add any attributes at compile time. most properties as simple types, why it doesn't show those?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900