title: Using generic types in XAML x:Type markup
body: <p>I have the following XAML snippet and I want to include a generic parameter and I can't work out what I need to do?</p>
  
  <p>I guess I'm going to have to created a markup extension to do this but I'm unsure how to get this to work with the x:Type attribute.</p>
  
  <pre><code>DataType="{x:Type vm:FooViewModel&lt;Bar&gt;}"
  </code></pre>