Answer the question
In order to leave comments, you need to log in
How to visualize arbitrary objects and their relationships in c#?
I'm looking for a tool/component/hint on how to render objects of different classes, preferably without/minimum changes in the classes themselves and a minimum of output template configuration. There are, for example, 10 base classes that are quite strongly related (i.e. quite a lot of cross-references). The classes themselves are simple, mainly consisting of public properties of standard types + actual references to objects of other classes, without any special tricks and complex structures.
How to visualize such objects without creating a lot of new code (templates, PropetryGrid settings, tables, etc.). Is there some library / control that can be passed to the input of an arbitrary object of any simple class and get a graphical reflection with the ability to follow links to other objects of other classes. An example is the built-in Watch functionality in VisualStudio
. Or, offer an analogue of PropertyGrid that you like.
Answer the question
In order to leave comments, you need to log in
Look towards reflection .
There is no need to change the existing code at all. Get all the necessary data about the classes and display them as you like.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question