O'Reilly logo

Silverlight 4 User Interface Cookbook by Vibor Cipan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PathListBox abandoning the rectangular ListBox

The PathListBox control is a new control, part of Expression Blend 4 SDK. What's so special about it? It allows you to arrange ListBox items in virtually any shape you can draw using the Pen or similar tool, and any Path can be now used as a list box. Circle? I'll show you that in this recipe. Spiral? You can do that for your own exercise.

The cool thing is that you can involve some interactivity by adding animations (either by animating the PathListBox's properties or by animating the Path itself using the AnimationUsingPath class.

Let's start with this…

Getting ready

Start your Expression Blend 4 and create a new project. Make it a Silverlight 4 project and from the Language drop-down list choose ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required