<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hilapon</author_name>
  <author_url>https://blog.hatena.ne.jp/hilapon/</author_url>
  <blog_title>周回遅れのブルース</blog_title>
  <blog_url>https://hilapon.hatenadiary.org/</blog_url>
  <categories>
    <anon>WPF</anon>
    <anon>FAQ</anon>
  </categories>
  <description>A． KeyBinding を使います。 例えば画面を閉じる処理を F12 キーと結び付けたい場合、以下のようにします。 まず Window のコードビハインド側に以下のコードがあるとします。（とりあえず VB ですが・・・） Partial Public Class Window1 ''' &lt;summary&gt;閉じるを実行&lt;/summary&gt; Private Sub ExecuteClose(ByVal sender As Object, ByVal e As RoutedEventArgs) Me.Close() End Sub End Class XAML 側では以下のように Comman…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhilapon.hatenadiary.org%2Fentry%2F20110324%2F1300937847&quot; title=&quot;Q047.  ショートカットキーでイベントもしくはコマンドを実行するにはどうすればいいのですか？ - 周回遅れのブルース&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/h/hilapon/20150622/20150622154447.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-24 12:37:27</published>
  <title>Q047.  ショートカットキーでイベントもしくはコマンドを実行するにはどうすればいいのですか？</title>
  <type>rich</type>
  <url>https://hilapon.hatenadiary.org/entry/20110324/1300937847</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
