<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkyjhr</author_name>
  <author_url>https://blog.hatena.ne.jp/tkyjhr/</author_url>
  <blog_title>i++</blog_title>
  <blog_url>https://increment.hatenablog.com/</blog_url>
  <categories>
    <anon>WPF/XAML</anon>
    <anon>C#</anon>
    <anon>.NET Framework</anon>
  </categories>
  <description>方針・ポイント EventSetter を使って DataGridRow に右マウスボタンイベント（MouseRightButtonUp）を設定する ContextMenu を DataGrid.Resources 内で作る そのイベント内で、Resources の ContextMenu を取得、設定する ContextMenu の方もコード上で作る、右クリック時ではなく行を追加した時に ContextMenu を設定するなど、他にも様々な方法で同じことが実現できると思いますが、今回は上記の方法で行います。 右マウスボタンのイベントの方が、右クリックによるコンテクストメニューの表示よりも先に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fincrement.hatenablog.com%2Fentry%2F2016%2F01%2F30%2F094640&quot; title=&quot;WPF/XAML : DataGrid の行にコンテクストメニューを設定する - i++&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/t/tkyjhr/20160127/20160127145816.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-30 09:46:40</published>
  <title>WPF/XAML : DataGrid の行にコンテクストメニューを設定する</title>
  <type>rich</type>
  <url>https://increment.hatenablog.com/entry/2016/01/30/094640</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
