• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 356
  • Last Modified:

Multiple DataTemplates for ListBox?

Hello

How can I use 2 DataTemplates for a ListBox?

Thanks
0
Ruttensoft
Asked:
Ruttensoft
1 Solution
 
Jaime OlivaresCommented:
Use a DataTemplateSelector. There is a good example here: http://msdn.microsoft.com/en-us/library/ms742521.aspx#Styling_StyleSelection
0
 
RuttensoftAuthor Commented:
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now