0

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?

Filburt
  • 17,626
  • 12
  • 64
  • 115
Csharp_crack
  • 246
  • 1
  • 6
  • 18

1 Answers1

0

Sure you can write this using ListBox as ItemTemplate in ExpanderView. But why? For what?

Roman Golenok
  • 1,427
  • 9
  • 26