Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

リストスイッチコントロールの現在アイテム - PaddingTopプロパティ 

Panel
bgColor#2c3c4c

上のパディング(ピクセル) 

リストスイッチコントロールの現在アイテム (PRIM_MD.ListSwitchCurrentItem) のメンバ

データタイプ - 整数

詳細

PaddingTop は、PaddingBottomPaddingRightPaddingLeft プロパティと組み合わせて、コントロールの境界に対する Caption とスイッチ アイコンの位置を制御します。

余白とは異なり、レイアウト マネージャーの sizing 設定がコンテンツ ベースである場合、パディング プロパティはコントロールのサイズ影響を与えます。 In conjunction with the PaddingBottom, PaddingRight and PaddingLeft properties, PaddingTop controls the position of the Caption and switch icon relative to the control bounds.
Unlike margins, the padding properties will affect the size of a control when layout manager sizing is content based.


参照

すべてのコンポーネント クラス
テクニカルリファレンス