0

wp7 のエキスパンダー ビュー内にリスト ボックスを配置できますか。リストボックスの項目を自動的に追加するシナリオがあります。お気に入り。

itemsource を提供し、データをリスト ボックスにバインドするためのサンプル cs コードがあります。

Cs コード:

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;

これはできますか?

4

1 に答える 1

0

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

于 2012-06-04T09:57:58.553 に答える