Can we have a list box inside a expander view in wp7. I have a scenario where the listbox items should be added automatically. like.
I have a sample cs code to provide the itemsource and bind the data with the list box.
Cs code:
lstsample.Add(new sample() { fname = "3i", lname = "infotech" });
lstsample.Add(new sample() { fname = "Tata", lname = "Consultancy" });
lstsample.Add(new sample() { fname = "Robert", lname = "Bosche" });
lst.ItemsSource=lstsample;
can this be done?