Versions Compared

Key

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

リスト持ち上げ型ボタンの現在アイテム - IconImageSizingプロパティ 

Panel
bgColor#2c3c4c

IconImageのサイズ調整の動作を指定します

リスト持ち上げ型ボタンの現在アイテム (PRIM_MD.ListRaisedButtonCurrentItem) のメンバ

データタイプ - 列挙

詳細

The IconImageSizing property describes how the IconImage is stretched or squashed to fit in to the space available as defined by the IconHeight

Allowed Values

プロパティは、IconImage を伸縮したり縮めたりして、IconHeight で定義された利用可能なスペース内に収める方法を指定します。

許容値

列挙値

説明

BestFit

イメージは、縦横比は保持したまま、使用可能なスペースに収まるようにサイズ変更されます。

Cropped

イメージは、縦横比は保持したまま、使用可能なスペースに収まるようにサイズ変更されます。 水平または垂直どちらかがコントロールに収まると、それ以上サイズは変更されません。その結果、いくつかのイメージが表示されなくなることがあります。

FitBoth

イメージは、水平および垂直のスペースにぴったりはまるようにサイズ変更されます。 縦横比は保持されません。 その結果、イメージは拡大されたように見えることがあります。

None

イメージは、決してサイズ変更されません。

ShrinkToFit

イメージがコントロールよりも大きい場合、縦横比を保ちながら、コントロール内に収まるようにサイズ調整されます。コントロールより小さいイメージは影響を受けません。

Enum Value

Description

BestFit

The image is resized to fit in the available space while still maintaining its aspect ratio

Cropped

The image is resized to fit the available space while still maintaining its aspect ratio. Once either the horizontal or vertical fits within the control, not further resizing is done. This may result in some of the image not being visible

FitBoth

The image is resized to precisely fit the horizontal and vertical space. The aspect ratio is not maintained. This may result in the image appearing stretched

None

The image is not resized in any way

ShrinkToFit

If larger than the control, the image is resized to fit while still maintaining its aspect ratio. Images small than the control are unaffected


参照

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