<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>UWP</anon>
  </categories>
  <description>通常設定だと右下あたりにぴょこっとでてくるトースト通知の呼び出し方。 デスクトップアプリからでも出来るみたいですが、ここでは UWP に絞って。 トースト通知を飛ばす方法は簡単で、 ToastNotificationManager.CreateToastNotifier().Show(toastNotification); ってやれば、通知してくれる。 で、問題は toastNotification の部分。 トースト通知のレイアウトは XML で定義されているらしくて、 インスタンス作成時に渡す必要があります。 Windows が標準で用意してくれているのは 8 種類。 取得方法とレイアウト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2015%2F11%2F16%2Ftoast-notification&quot; title=&quot;Windows 10 でトースト通知を飛ばす - なつねこメモ&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://assets.natsuneko.blog/images/20151115/20151115182433.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-15 15:00:00</published>
  <title>Windows 10 でトースト通知を飛ばす</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2015/11/16/toast-notification</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
