Tuesday, June 24th, 2008

Fish Eye Control in Silverlight



Martin Grayson has a fantastic post, along with code, on one of the best Fish Eye controls I’ve seen implemented. 

Fish Eye for the Blend Guy

Using this as a basis we have been working on migration to Silverlight,  and finally got the time to get this working.

The code is still a bit rough so I can’t publish it,  but it does demonstrate that it can be done.   The main changes we needed to make were due to the lack of a Mouse position meaning we needed to pass this into the methods from our MouseOver event.   We also needed to create StoryBoards on the fly for the animation,  I have some concerns here about memory usage as we’re currently not cleaning everything up – more work needed :)

Screen shot below,  actual examples to follow soon.

Silverlight Fish Eye Static

Click the image to see an animated version (400KB).

  • zac
    Any idea on when you will publish your files on this? Also, I think I'm finding that button controls might not be the best option if you want a custom image and then have an accompanying title appear below the rolled over image.

    Any thoughts on getting that to work?
  • Chandrakant
    Really awesome work...
blog comments powered by Disqus