<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku_sh</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku_sh/</author_url>
  <blog_title>sh1’s diary</blog_title>
  <blog_url>https://shikaku-sh.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>WPF</anon>
    <anon>プログラミング</anon>
    <anon>PRISM</anon>
  </categories>
  <description>問題の例 ContentRendered イベントを UserControl から利用する ContentRendered.Command の実装例 サンプル 参考 通常、UserControl から ContentRendered イベントを使いたいシーンはあまり無いと思いますが、例外になるケースがありました。 Prism の DialogWindow を利用した場合、UserControl を簡単に子ウィンドウとして表示することができるのですが、UserControl には ContentRendered イベントがありません。（UserControl の親 Window で発生するイベン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshikaku-sh.hatenablog.com%2Fentry%2Fwpf-use-to-bind-contentrendered-event-from-usercontrol&quot; title=&quot;WPF UserControl クラスから ContentRendered イベントをバインドする - sh1’s diary&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/s/shikaku_sh/20210823/20210823173353.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-04 15:54:05</published>
  <title>WPF UserControl クラスから ContentRendered イベントをバインドする</title>
  <type>rich</type>
  <url>https://shikaku-sh.hatenablog.com/entry/wpf-use-to-bind-contentrendered-event-from-usercontrol</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
