Saturday, February 04, 2012
Blog
Mar 25

Written by: New Age Solution
3/25/2010 10:04 AM  RssIcon

PathListBox control comes with Blend 4 SDK in Silverlight 4. PathListBox allows any elements to be layed out along the path. Just imagine putting letters around the circle and then animating it.

DONWLOAD SOURCE

- Create SilverlightApplication project and open in Blend 4 and in Visual Studio 2010

- Add PathList Box control

- Add Ellipse control

- Right Click on Ellipse and convert it to path. (This is nice trick to use if you have control and want to convert to path so that it can be used by PathList Box)

- Click on PathListBox named pbox and choose Ellipse Path from above step as LayoutPath. NOTE here that when you choose Ellipse as LayoutPath it will ne RENAMED automatically called "path"

- In MainPage Add Following code

       public MainPage()

        {

            InitializeComponent();

            this.Loaded += (s, e) =>

            {

                string data = @"New Age Solution LLC";

                pbox.ItemsSource = data.ToCharArray();

 

                Storyboard1.Begin();

            };

        }

 

- F5 and run and see

- Go back to Blend 4 and let's animate the path

 

- Add Storyboard and create keyframes of about 3 seconds and change the scale to 2

 

 

- Right click on Keyframe at 3 second

 

 

- Choose your favorite Easing function

 

 

- F5 and RUN

 

2 comment(s) so far...


Gravatar

Re: Silverlight 4 PathListBox

I have visual studio 2010, do you have to have expression blend to execute the above code? Thanks.

By Flood Damage Cleanup on   10/25/2011 5:08 PM
Gravatar

Re: Silverlight 4 PathListBox

Nope you dont need blend.

By New Age Solution on   10/25/2011 5:08 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 


Tags


Blog Archive


Blog List


Search Blog


Google Reader


Blog Comments
re:
I’m impressed. Very informative and trustworthy blog does exactly what it sets out to do. I’ll bookmark your weblog for future use.

Joseph
www.joeydavila.com
Your online Library
Re: Silverlight 4 PathListBox
Nope you dont need blend.
Re: Silverlight 4 PathListBox
I have visual studio 2010, do you have to have expression blend to execute the above code? Thanks.
re:
I’m impressed. Very informative and trustworthy blog does exactly what it sets out to do. I’ll bookmark your weblog for future use.

Joseph
www.joeydavila.com
Your online Library
re:
I’m impressed. Very informative and trustworthy blog does exactly what it sets out to do. I’ll bookmark your weblog for future use.

Joseph
www.joeydavila.com
Your online Library
Re: How to fix TF215032 when trying to delete Build Definition from TFS?
Thanks you very much.
Re: DotNetNuke PermanentRedirect Error
Thanks so much for posting this! It fixed my issue.
Re: Why we are using our own custom blog using DotNetNuke?
Word Press is good too. see Blog.ToeTapz.com. Depends on what you need. I use DNN blog because it gives me ultimate control on what I want and what I need. Also I need to be able to upload Silverlight demo so I use DNN. BlogToeTapz.com I recently got is using word press and I been happy with it so far.
I am testing DNN blogs and they are not as good as blogger.com
Are there any other DNN blogs we can use for this?

http://newmediaworlds.blogspot.com/





Re: How to add Google Email, Calendar, and contacts to Blackberry and iPhone?
Great and detail instructions. I got just got my Blackberry 8350 and it's a very useful information for me as a newbie.


Syndicate  

Privacy Statement  |  Terms Of Use
Copyright 2010 New Age Solution