Compartilhar via


Pan Zoom Example

I am hosting this sample here to demonstrate the solution to this forum thread:

https://silverlight.net/forums/p/51139/134135.aspx

 

SilverlightApplication39.zip

Comments

  • Anonymous
    December 12, 2008
    This is a really good example, but unfortunately it is relying entirely on the position of the Ccircle ellipse inside the canvas. I am trying to do this exact type of pan/zoom, except that my zoom point needs to always be the center of a viewport, and I cannot repeat the behavior that this example shows. How would you approach this example if you didn't have Ccircle?

  • Anonymous
    December 12, 2008
    Also, I forgot to point out that the size of the viewport is not constant (i.e. it stretches to fit a certain area).