title: How to reference a generic type in the DataType attribute of a DataTemplate?
body: <p>I have a ViewModel defined like this:</p>
  
  <pre><code>public class LocationTreeViewModel&lt;TTree&gt; : 
      ObservableCollection&lt;TTree&gt;, INotifyPropertyChanged
          TTree : TreeBase&lt;TTree&gt;
  </code></pre>
  
  <p>I want to reference it in the <code>DataType</code> attribute of a <code>DataTemplate</code> in XAML. How can I do that?</p>