<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>siokoshou</author_name>
  <author_url>https://blog.hatena.ne.jp/siokoshou/</author_url>
  <blog_title>当面C#と.NETな記録</blog_title>
  <blog_url>https://siokoshou.hatenadiary.org/</blog_url>
  <categories>
    <anon>.NET WinForm</anon>
  </categories>
  <description>昨日見つけたバグの修正編です。修正の前にスクロール周りを調べて分かった注意点などを。AutoScrollを使う際、コンテナに載せるコントロールの位置に注意が必要です。 ScrollableControlから派生したコンテナになるコントロールは、主にForm、Panel、UserControlやその派生があります。これらにコントロールを載せたり、直接描画する際の位置は、AutoScrollPositionプロパティのx座標とy座標を加える必要があります。以下、コントロールを載せる場合の例で説明します。 Control.Locationに (0, 0) を指定すると、今画面に見えている部分の左上隅…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsiokoshou.hatenadiary.org%2Fentry%2F20050130%2F1107069655&quot; title=&quot; AutoScrollPosition - 当面C#と.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>2005-01-30 16:20:55</published>
  <title> AutoScrollPosition</title>
  <type>rich</type>
  <url>https://siokoshou.hatenadiary.org/entry/20050130/1107069655</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
