Example

Enums

Stretch

Slice

The part of the image contained within the /ImageLabel/SliceCenter or /ImageButton/SliceCenter maintains its aspect ratio within the element, while everything outside is stretched and used as borders.

Tile

2

The image is is tiled to fit within the element. For example, if the element is twice the X dimension of the image, the image will appear twice (2 tiles).

Fit

3

The image is scaled fit within the element X or Y dimension (whichever fits first).

Crop

4

The image is cropped to fit within the element.

Referenced by

ImageLabel/ScaleType

ImageButton/ScaleType

How this site use cookies

This Platform uses cookies to offer you a better experience, to personalize content, to provide social media features and to analyse the traffic on our site. For further information, including information on how to prevent or manage the use of cookies on this Platform, please refer to our Privacy and Cookie Policy.