<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidari-yori</author_name>
  <author_url>https://blog.hatena.ne.jp/hidari-yori/</author_url>
  <blog_title>HIDARI日記（右）</blog_title>
  <blog_url>https://hidari-lab.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>きっかけ MVVM入門 その１「シンプル四則演算アプリケーションの作成」 in C#, XAML for Visual Studio 2010 のサンプルで，Startupイベントのイベントハンドラ（Application_Startup）でやろうとしてる処理を，overrideしたOnStartイベントハンドラだけで行おうとしたけど，なぜかApp.xaml内のDataTemplateがうまく適用されなかったので，回避方法を模索してみました． シンプルに再現してみる まずはVisual Studioで適当にWPFアプリケーションを作成して，MainWindow.xamlにTextBlockのみ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhidari-lab.hatenablog.com%2Fentry%2Fstyle_trouble_in_mvvm_sample&quot; title=&quot;OnStartupをオーバーライドしたらApplication.Resourcesに設定したStyleやらDataTemplateが適用されなかった話 - HIDARI日記（右）&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/h/hidari-yori/20140129/20140129150950.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-30 12:38:17</published>
  <title>OnStartupをオーバーライドしたらApplication.Resourcesに設定したStyleやらDataTemplateが適用されなかった話</title>
  <type>rich</type>
  <url>https://hidari-lab.hatenablog.com/entry/style_trouble_in_mvvm_sample</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
