title: How to reference a generic type in the DataType attribute of a HierarchicalDataTemplate?
body: <p>I have a class of <code>MyClass&lt;MyObject&gt;</code> and want to set it as the DataType for a HierarchicalDataTemplate.</p>
  
  <p>What is the syntax for this in XAML? (I know how to set namespaces, I need just the syntax for</p>
  
  <pre><code>&lt;HierarchicalDataTemplate DataType="{X:Type .....
  </code></pre>