Image manipulation on Grid

Dec 1, 2010 at 10:59 AM
Edited Dec 1, 2010 at 11:00 AM

Hi, you've done really a great work ;)

I was wondering if I can set some limitations for image scaling : for now if I put a image into a grid and move it using mouse it goes outside and cover other UI elements, ''normally'' the image should be limited by the container (the grid, stack-panel,...). There is any way to remove this or I have to hard-code this feature ?


Dec 1, 2010 at 12:21 PM

Hi Devix,

thanks for the kind words, much appreciated :)

Are you obtaining this problem also using the "SilverlightWP7MultiTouch.sln" sample available in the source code?

There's already a basic implementation of constraints to the parent container in that sample, however if you find a better approach feel free to ping me.



Dec 1, 2010 at 10:06 PM

Hi davidzordan,

thanks for you quick reply ! I've checked into the source code sample, It works only with Stackpanel (not with canvas or grid...)

So basically it's okey ! If I find something else I will post it here of course ;)


Dec 1, 2010 at 10:15 PM