3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【C#】デザインの調整

Posted at

自動デザイン調整

  1. Anchorプロパティ
    コントロールのどの端をコンテナの端に固定するかを取得または設定

わかりやすい画像↓
http://imagingsolution.net/program/cppcli/anchor-property/

  1. Dockプロパティ
    フォームの端に合わせてコントロールを配置

  2. AutoSizeプロパティ
    AutoSize が true の場合、Dock プロパティと Anchor プロパティは有効
    https://msdn.microsoft.com/ja-jp/library/ms171729(v=vs.110).aspx

直接デザイン調整

Point 構造体、Size プロパティを使用してデザイン調整する。
自動のデザイン調整と組み合わせると複雑になってくるので個人的には直接指定は使いたくない。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?