views:

84

answers:

2

I am new to silverlight and windows phone 7 development and am having some trouble working out the best way to do a "grouped list".

Essentially what I would like to do is group a list of event details by date into something like this:

Monday 5/6/10  
 event 1  
 event 2  
Tuesday 6/6/10  
 event 3

I tried using nested listboxes which work to certain extent but killed the scrolling. Is that the best way to do grouping (assuming I can fix the scrolling issue) or is there some other method?

+1  A: 

What about using nested ItemsControls and templates?

Jeff Wilcox
+1  A: 

Hi Luke,

You may find the scrolling issue with nested listboxes is due to your nested listboxes being of a variable height. Try making them a fixed height or containing them in a wrapping element with a fixed height for now. This is a known issue with the current ctp effecting listboxes with contents of variable height.

Mick N