Page History
リストのフラットボタンの現在アイテム - IconImageSizingプロパティ
| Panel | ||
|---|---|---|
| ||
IconImageのサイズ調整の動作を指定します |
リストのフラットボタンの現在アイテム (PRIM_MD.ListFlatButtonCurrentItem) のメンバ
データタイプ - 列挙
詳細
...
IconImageSizingプロパティは、IconHeight で定義された利用可能なスペースに収まるように IconImage をどのように拡大または縮小するかを示します。
許容値
列挙値 | 説明 |
|---|---|
BestFit | イメージは、縦横比は保持したまま、使用可能なスペースに収まるようにサイズ変更されます。 |
Cropped | イメージは、縦横比は保持したまま、使用可能なスペースに収まるようにサイズ変更されます。 水平または垂直どちらかがコントロールに収まると、それ以上サイズは変更されません。その結果、いくつかのイメージが表示されなくなることがあります。 |
FitBoth | イメージは、水平および垂直のスペースにぴったりはまるようにサイズ変更されます。 縦横比は保持されません。 その結果、イメージは拡大されたように見えることがあります。 |
None | イメージは、決してサイズ変更されません。 |
ShrinkToFit | イメージがコントロールよりも大きい場合、縦横比を保ちながら、コントロール内に収まるようにサイズ調整されます。コントロールより小さいイメージは影響を受けません。 |
Allowed Values
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