FetFrumos
FetFrumos

Reputation: 5944

Windows phone - stretch image

I want to stretch the image on the whole page.

Fill is not appropriate - the proportions are not saved. UniformToFill - leaves an empty space above and below.

I need to image spread over the whole page to the conservation scale.Part of the image will be clipped. How do I do this?

Upvotes: 0

Views: 374

Answers (1)

lisp
lisp

Reputation: 4198

Both UniformToFill and Fill take the whole available space, but with different stretching behaviours. If you see empty space, that means that not the whole space is available. Maybe you placed Margins or set explicit Width and Height on Image (or placed the Image in a container with Margins or Width/Height).

Upvotes: 1

Related Questions