导航菜单
首页 » 问答 » 正文

WPF Image Stretch属性值解释

None :The its size.

保持原始尺寸。

by for Phone

Fill: The is to fill the . The ratio is not .

缩放到目标尺寸,宽高比不会保留。

by for Phone

:The is to fit in the while it its ratio.

缩放到目标尺寸之内,并保持原始宽高比。

by for Phone

:The is to fill the while it its ratio. If the ratio of the from the , the is to fit in the .

保持原始宽高比进行缩放,以填充。如果两者的宽高比不同,源会被剪切掉多余的部分。

评论(0)

二维码