Display a variable-sized collection of TextBlocks/ComboBoxes in Silverlight 3 -
I have a list of text descriptions, each of which must score on a scale of 1-5 Number is variable, so I can not just define a stable grid in XAM.
The following image shows what I am doing next:
In ASP.NET, I could tie my list of text objects in a repeater control. For each line, the text will be displayed in a label, and there will be a dropdown list next to it that has a stable list of items. Is there any equal control available in Silverlight?
Should I use one of these?
I solved this by controlling the items, and in the item template, I kept the text block and combo box control.
The only wrinkle for me was that the combo box was dependent on a different datacontext, so I had to resort to using the DataContactProxy described in
Comments
Post a Comment