Fissheye for Silverlight is expressionCommunityAn example (http://gallery.expression.microsoft.com/FishEye) in ). OriginalCodeThe sub-elements of the Panel can only be horizontally arranged. I added an orientation Attribute Based on the original code to achieve horizontal or vertical arrangement of sub-elements like stackpanel.
The default value is the horizontal arrangement.
<Fish: fisheyepanel margin = "0, 50, 0, 0 "magnification =" 3 "scaletofit =" false "Height =" 50 "verticalignment =" TOP "> <button Height =" 50 "> <Image Source =" images/alarm.png" stretch = "fill"/> </button> <button Height = "50"> <Image Source = "images/anouncement.png" stretch = "fill"/> </button> <button Height = "50"> <Image Source = "images/Config-Tools.png" stretch = "fill"/> </button> <button Height = "50"> <Image Source =" images/paste.png "stretch =" fill "/> </button> <button Height =" 50 "> <Image Source =" images/Under-construction.png "stretch =" fill "/> </button> <button Height = "50"> <Image Source = "images/Vista-Shield.png" stretch = "fill"/> </button> </fish: fisheyepanel>
Vertical arrangement
<Fish: fisheyepanel
Orientation = "vertical"
Magnification = "3" scaletofit = "false" width = "50"> <button width = "50"> <Image Source = "images/alarm.png" stretch = "fill"/> </button> <button width = "50"> <Image Source = "images/anouncement.png" stretch = "fill"/> </button> <button width = "50"> <Image Source = "images/Config-Tools.png" stretch = "fill"/> </button> <button width = "50"> <Image Source = "images/paste.png" stretch =" fill "/> </button> <button width =" 50 "> <Image Source =" images/Under-construction.png "stretch =" fill "/> </button> <button width = "50"> <Image Source = "images/Vista-Shield.png" stretch = "fill"/> </button> </fish: fisheyepanel>
Source codeDownload