<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>WPF</anon>
    <anon>C#</anon>
  </categories>
  <description>よくWindowsFormでTreeViewの子要素にダミーデータを突っ込んであたかも展開可能のように見せかけるために三角形を表示する奴をWPFでもやってみようと思います。コードビハインドではなく、MVVM形式で実現しようと思います。 完成イメージ ノードの左側に展開可能なことを示す三角形アイコンを、本当にデータがあるかどうかに係わらず表示します。 XAML定義 XAML 上では以下2つを定義します IsExpandedプロパティをViewModelにバインドする定義 TreeViewItemをどうやって画面上に表示するかの定義 今回はTreeViewItemは、テキストのみです。（本当は画像…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2015%2F06%2F04%2F193549&quot; title=&quot;WPFでTreeViewを展開可能なように見せかける - PG日誌&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>http://cdn-ak.f.st-hatena.com/images/fotolife/T/Takachan/20150604/20150604193121.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-06-04 19:35:49</published>
  <title>WPFでTreeViewを展開可能なように見せかける</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2015/06/04/193549</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
