<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>negiMa</author_name>
  <author_url>https://blog.hatena.ne.jp/negiMa/</author_url>
  <blog_title>てんちょのきおく</blog_title>
  <blog_url>https://negima-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>.net</anon>
  </categories>
  <description>カラムのプロパティで、あらかじめ改行コード（ここでは\n）入りカラムヘッダを設定しておく。 DataGridViewのインスタンスが生成された後で全てのカラムのHeaderTextの改行文字をEnvironment.NewLineに置き換える。 置き換え部分のコード例： foreach ( DataGridViewColumn col in DataGridView1.Columns ) { col.HeaderText = col.HeaderText.Replace( @&quot;\n&quot;, Environment.NewLine ); } これで任意の場所で改行を入れる事ができる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnegima-2.hatenadiary.org%2Fentry%2F20070814%2F1187093888&quot; title=&quot;DataGridView:タイトルヘッダに改行を入れる方法（力技版） - てんちょのきおく&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>2007-08-14 21:18:08</published>
  <title>DataGridView:タイトルヘッダに改行を入れる方法（力技版）</title>
  <type>rich</type>
  <url>https://negima-2.hatenadiary.org/entry/20070814/1187093888</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
