Fisheye for Silverlight

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.