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

Multiple item selections with simple ListBox

This pattern works well for relatively small item lists when you are looking into a simple way to enable your users to select several items from the predefined set.

Multiple item selections with simple ListBox

There are number of different implementations of this pattern, but simplest one of them is based on the ListBox control, both in Silverlight and with WPF.

Getting ready

Start your Expression Blend 4 and then select New project... From the dialog that appears select Silverlight and then Silverlight Application, make sure that Language is set to C# and Version is 4.0. At the end hit OK.

How to do it...

  1. After you have created your new project, ...

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