Fish Eye Control in Silverlight

Posted in Random Stuff  |  No Comments

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).

Leave a Reply