Silverlight 4 – PathListBox

After watching this video by Chrisitan Schormann and Peter Blois, I thought I would try to make a basic app that made use of the PathListBox control in Silverlight 4.

The app I made can be found here, although it is not finished and contains sample data from Blend 4.  If you click the round Xbox logo in the middle the list changes.  When you have selected a gamertag from the list, clicking the logo at the top of the app will return you to the orb.

I wasn’t very original in this app and mostly just copied what was demonstrated in the video but I just wanted to quickly make something to have a play with the lists myself.  It is an awesome control that I will probably use again and again.  I had a problem with the selecting of items from the list which seemed be due to the selection rectangles not being rotated when I edited the generate items template, although there is probably a way to correct this (if anyone knows how, please let me know).

If you are having the same problem I had, try increasing the size of the ellipse used for the path and alter the X and Y transform for the generated items template.  This brought the text in closer to the Xbox Logo image but left the offending selection rectangle on the outer edge of the ellipse, while still allowing the text to be selected the way you would expect.

LiveOrbitScreeny

This entry was posted in Silverlight and tagged , , , , , , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Copy Protected by WP-CopyProtect Thanks to Chetan.