Is it possible to group items in a ItemsControl or Listbox in Silverlight? These controls are bound to a DomainDataSource.
Or are there any 3rd party controls that do this?
UPDATE:
This is the sort of UI I am trying to create.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this by using nested
ItemsControlsbound to a PagedCollectionView.Say I have a datasource –
MyItems– with fields:Category,SectionandOption. I can create aPagedCollectionViewfrom anIEnumerable(of MyItems)and tell it which fields to group by.Then I bind my first
ItemsControlto thePagedCollectionViewThe
PCVcreates a nested hierachy like:where
Nameis the value in the grouped field andItemscontains the rows/objects in that grouping. I guess you could also create the PCV in xaml if you prefer.The xaml would look something like:
I hope that makes sense. I have tried to simplify things from my actual app but I could have made some mistakes in copying it over. Obviously you could use normal ItemsControls or other controls too and customize with templates etc.