Developing New Experiences

VW14 The WPF List Box Control Can Do That?!


3:15pm - 4:30pm

Level: Introductory to Intermediate

Paul Sheriff

Author / Instructor

The ListBox control in WPF is extremely powerful. In fact, after you see all the things you can do with the ListBox you will probably use it more than any other list-type control. In this seminar you will see how to present multiple columns, multiple lines per row, make the list box horizontal, display images, even perform sorting and grouping all with just a little bit of XAML and code. All of this and more is available with this powerful control. Switching templates to display two different sets of information in the same list box and using value converters to format data can really spice up your WPF applications. All these techniques and more will be shown in this fun and informative session. You will walk away with some great reusable code that will be of use to you right away.

You will learn:

  • Multiple columns and rows
  • Sorting, grouping and template switching
  • Horizontal lists and using data triggers