title: How to generate a WPF form that allows editing of any object
body: <p>What I'm trying to accomplish is to dynamically create a form that allows editing all the fields and properties of an object (recursively).</p>
  
  <p>I already managed to do this in some simple cases.</p>
  
  <p>Problems I encountered so far:</p>
  
  <ul>
  <li><p>Hiding the automatically generated backing fields of properties (I do this by checking if the names starts with "&lt;" which was the only difference between a generated backing field and a regular field I found (I could mark manually created backing fields with an attribute to filter them))</p></li>
  <li><p>Display lists and dictionaries. They work but not especially well.</p></li>
  </ul>
  
  <p>I found solutions (like <a href="http://www.codeproject.com/Articles/87715/Native-WPF-4-PropertyGrid/" rel="nofollow">this one</a>) that only worked with properties and didn't display properties/fields of a nested user class.</p>
  
  <p>Is there an existing solution that:</p>
  
  <ul>
  <li>works with fields and properties</li>
  <li>and allows editing of fields/properties of arbitrary type (maybe in a new window)?</li>
  </ul>