<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kodomoto_monodukuri</author_name>
  <author_url>https://blog.hatena.ne.jp/kodomoto_monodukuri/</author_url>
  <blog_title>子どもと一緒にものづくり</blog_title>
  <blog_url>https://kodomoto-monodukuri.hatenablog.com/</blog_url>
  <categories>
    <anon>VB.net</anon>
  </categories>
  <description>仕事の話です。 転職してから、VB.netをメインで開発しているのですが、今回ハマってしまい、ググっても検索に引っかからなかったので、備忘録として記録しておきます。 ＜やりたかったこと＞ DataGridViewで表を表示しているが、クリックしても何も反応していないように見せたい（選択しない）。 ググると、「Select後のbackcolorをdefaultCellにする」などの方法があったのですが、背景色をセル毎に変更していたのでうまくいきませんでした。 DataGridView上のクリック無効化などは、見つかりませんでした。 ＜対処法＞ SelectionChangedイベントに「Data…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkodomoto-monodukuri.hatenablog.com%2Fentry%2F2019%2F10%2F24%2F163012&quot; title=&quot;　DataGridViewでセルを選択させない方法（VB.net） - 子どもと一緒にものづくり&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>2019-10-24 16:30:12</published>
  <title>　DataGridViewでセルを選択させない方法（VB.net）</title>
  <type>rich</type>
  <url>https://kodomoto-monodukuri.hatenablog.com/entry/2019/10/24/163012</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
