Scale an image without filling screen

184 views Asked by At

I did a simple imageviewer and when I scale an image it takes the whole screen. I want it to get bigger but inside its grid.

1

There are 1 answers

2
brunnerh On

Not really enough information here, normally just putting an Image control into the Grid should do as it stretches to its bounds.

<Grid>
    <Image Source="..."/>
<Grid/>