フラット ボタン - IconImageSizing プロパティ

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

フラット ボタン (PRIM_MD.FlatButton) のメンバ

データ タイプ - 列挙

詳細

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

Enum ValueDescription
BestFitThe image is resized to fit in the available space while still maintaining its aspect ratio
CroppedThe 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
ShrinkToFitIf larger than the control, the image is resized to fit while still maintaining its aspect ratio. Images small than the control are unaffected


 
 

参照

すべてのコンポーネント クラス

テクニカルリファレンス

EPC142030 February 2019