Is it possible to visualize an object (its properties together with their values) and print it (reset - like serialization) into a WPF control, such as a TreeView or PropertyGrid, to validate the object?
The goal is to display the contents of any arbitrary object (not just for debugging purposes).
For further clarification: I'm not looking for any debugging tools or ways to display the WPF visual tree. This question is partially related to WPF -> WPF - this is only the environment for displaying an object dump, since the controls may differ between WPF and WinForms.
The result should be hierarchical for instances of nested objects, lists, etc.

source share