<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>DataGridViewでセルが編集中の時にキーイベントを捕捉する: .NET Tips: C#, VB.NET こちらの解説にあるようにDataGridViewのキーイベントは、セルが編集中の場合はイベントが発生せず、「編集中になっているセルのテキストボックス」のキーイベントを捕捉する必要があります。 しかし、KeyDown/KeyPressを捕まえても、なんでかしらないのですが、Enterキーが捕捉できませんでした。色々イベントを適当に捕捉してみたら、PreviewKeydownという名前のイベントがありました。keydownの前に発生するんでしょう、きっと。 DataGridViewTe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2011%2F08%2F17%2F161052&quot; title=&quot;DataGridViewで編集中のセルのEnterキー押下を捕捉する - Life is Really Short, Have Your Life!!&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-08-17 16:10:52</published>
  <title>DataGridViewで編集中のセルのEnterキー押下を捕捉する</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2011/08/17/161052</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
