<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xin9le</author_name>
  <author_url>https://blog.hatena.ne.jp/xin9le/</author_url>
  <blog_title>xin9le.net</blog_title>
  <blog_url>https://xin9le.hatenablog.jp/</blog_url>
  <categories>
    <anon>Tips</anon>
    <anon>WPF</anon>
  </categories>
  <description>非常に稀なことかもしれませんが、UIコントロールの奥底にある要素にアクセスして操作したい場合があります。例えば、DatePickerコントロールとして提供されているけれども、何かの都合でその中のTextBox部分をイジらなければならない、と言ったケースです。普段は奥底に潜んでいて触れない要素ですが、それを少し簡単に取得する方法を紹介します。 論理ツリーとビジュアルツリー WPF、Silverlgiht、WindowsストアアプリのようなXAMLでUIを記述するアプリケーションは、内部がツリー構造になっています。このツリー構造には考え方が2種類あり、論理ツリー (Logical Tree) とビ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxin9le.hatenablog.jp%2Fentry%2F2013%2F10%2F29%2F222336&quot; title=&quot;VisualTreeの子孫要素を取得する - xin9le.net&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://xin9le.net/wp-content/uploads/articles/106/LogicalTree.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-29 22:23:36</published>
  <title>VisualTreeの子孫要素を取得する</title>
  <type>rich</type>
  <url>https://xin9le.hatenablog.jp/entry/2013/10/29/222336</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
