<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>at12k313</author_name>
  <author_url>https://blog.hatena.ne.jp/at12k313/</author_url>
  <blog_title>まめ - たんたんめん</blog_title>
  <blog_url>https://p4j4.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>WPF</anon>
  </categories>
  <description>やりたいこと ListViewやItemsControlでデータを並べる際に interface にってViewを切り替えたい。 ItemsControlのDataTemplate解決の仕組み ListVIewやItemsControlが並べるデータのViewを指定する仕組みについて簡単に解説します。 ItemsControlではItemsSourceに含まれるデータの型によってViewを選択します。 型が指定されており、Keyが指定されていないResourceが対象となります。(&lt;DataTemaplte TargetType = &quot;{x:type hoge}&quot;&gt;みたいなやつ) ItemsC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fp4j4.hatenablog.com%2Fentry%2F2020%2F04%2F09%2F173456&quot; title=&quot;WPF DataTemplate.DataType にinterface を指定可能にするDataTemplateSelectorの実装 - まめ - たんたんめん&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/at12k313/20200409/20200409172427.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-09 17:34:56</published>
  <title>WPF DataTemplate.DataType にinterface を指定可能にするDataTemplateSelectorの実装</title>
  <type>rich</type>
  <url>https://p4j4.hatenablog.com/entry/2020/04/09/173456</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
