title: Can I specify a generic type in XAML (pre .NET 4 Framework)?
body: <p>In XAML I can declare a DataTemplate so that the template is used whenever a specific type is displayed. For example, this DataTemplate will use a TextBlock to display the name of a customer:</p>
  
  <pre><code>&lt;DataTemplate DataType="{x:Type my:Customer}"&gt;
      &lt;TextBlock Text="{Binding Name}" /&gt;
  &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>I'm wondering if it's possible to define a DataTemplate that will be used any time an IList&lt;Customer&gt; is displayed. So if a ContentControl's Content is, say, an ObservableCollection&lt;Customer&gt; it would use that template.</p>
  
  <p>Is it possible to declare a generic type like IList in XAML using the {x:Type} Markup Extension?</p>