<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hotkou</author_name>
  <author_url>https://blog.hatena.ne.jp/hotkou/</author_url>
  <blog_title>TechBox</blog_title>
  <blog_url>https://devlog.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>.NET</anon>
  </categories>
  <description>DataGridViewの描画が遅い時の対策を紹介します。100件程度であれば気にならないかと思いますが、 大量の行列がある状態でスクロールをすると、スクロールバーを動かすとビッビッビッみたいな感じで描画がスムーズに表示してくれない(ちらつく）んですね。 その場合の対策ですが【DoubleBuffered】というのを有効にすれば良いです。 protected void Initialize() { //DataGridViewの画面ちらつきをおさえるため、DoubleBufferedを有効にする // DataGirdViewのTypeを取得 System.Type dgvtype = typ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlog.hatenablog.jp%2Fentry%2F20180412%2F1523512843&quot; title=&quot;【.NET】DataGridViewの描画が遅い時の対策 - TechBox&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>2018-04-12 15:00:43</published>
  <title>【.NET】DataGridViewの描画が遅い時の対策</title>
  <type>rich</type>
  <url>https://devlog.hatenablog.jp/entry/20180412/1523512843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
