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:

"http: //imgur.com/mPfsQ.png" alt = "alt text ">

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?

  • List control
  • Custom control obtained from item control
  • (other)
  • 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

    Popular posts from this blog

    c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

    Calling GetGUIThreadInfo from Outlook VBA -

    Obfuscating Python code? -